File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ load_kernel_module_download() {
275275 local URL=$( echo " ${1} /${DRIVER_VERSION} /${ARCH} /${SYSDIG_KERNEL_MODULE_FILENAME} " | sed s/+/%2B/g)
276276
277277 echo " * Trying to download a prebuilt ${DRIVER_NAME} module from ${URL} "
278- if curl -L --create-dirs " ${SYSDIG_DRIVER_CURL_OPTIONS} " -o " ${HOME} /.scap/${DRIVER_VERSION} /${ARCH} /${SYSDIG_KERNEL_MODULE_FILENAME} " " ${URL} " ; then
278+ if curl -L --create-dirs ${SYSDIG_DRIVER_CURL_OPTIONS} -o " ${HOME} /.scap/${DRIVER_VERSION} /${ARCH} /${SYSDIG_KERNEL_MODULE_FILENAME} " " ${URL} " ; then
279279 echo " * Download succeeded"
280280 chcon -t modules_object_t " ${HOME} /.scap/${DRIVER_VERSION} /${ARCH} /${SYSDIG_KERNEL_MODULE_FILENAME} " > /dev/null 2>&1 || true
281281 if insmod " ${HOME} /.scap/${DRIVER_VERSION} /${ARCH} /${SYSDIG_KERNEL_MODULE_FILENAME} " ; then
@@ -501,7 +501,7 @@ load_bpf_probe_compile() {
501501 mkdir -p /tmp/kernel
502502 cd /tmp/kernel || exit
503503 cd " $( mktemp -d -p /tmp/kernel) " || exit
504- if ! curl -L -o kernel-sources.tgz --create-dirs " ${SYSDIG_DRIVER_CURL_OPTIONS} " " ${BPF_KERNEL_SOURCES_URL} " ; then
504+ if ! curl -L -o kernel-sources.tgz --create-dirs ${SYSDIG_DRIVER_CURL_OPTIONS} " ${BPF_KERNEL_SOURCES_URL} " ; then
505505 >&2 echo " Unable to download the kernel sources"
506506 return
507507 fi
@@ -543,7 +543,7 @@ load_bpf_probe_download() {
543543
544544 echo " * Trying to download a prebuilt eBPF probe from ${URL} "
545545
546- if ! curl -L --create-dirs " ${SYSDIG_DRIVER_CURL_OPTIONS} " -o " ${HOME} /.scap/${DRIVER_VERSION} /${ARCH} /${BPF_PROBE_FILENAME} " " ${URL} " ; then
546+ if ! curl -L --create-dirs ${SYSDIG_DRIVER_CURL_OPTIONS} -o " ${HOME} /.scap/${DRIVER_VERSION} /${ARCH} /${BPF_PROBE_FILENAME} " " ${URL} " ; then
547547 >&2 echo " Unable to find a prebuilt ${DRIVER_NAME} eBPF probe"
548548 return 1
549549 fi
You can’t perform that action at this time.
0 commit comments