Skip to content

Commit 09aeeda

Browse files
committed
of course I forgot an echo
Signed-off-by: Dr. Jan-Philip Gehrcke <[email protected]>
1 parent 20a36d6 commit 09aeeda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/kubelet-plugin-prestart.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [ "${NVIDIA_DRIVER_ROOT}" != "/" ]; then
2020

2121
# Remove trailing slash (if existing) and get last elem: /a/b/c -> c,
2222
# /a/b/c/ -> c
23-
_driver_root_basename=$("${NVIDIA_DRIVER_ROOT%/}" | xargs basename)
23+
_driver_root_basename=$(echo "${NVIDIA_DRIVER_ROOT%/}" | xargs basename)
2424
echo "create symlink: /driver-root -> /driver-root-parent/${_driver_root_basename}"
2525
ln -s "/driver-root-parent/${_driver_root_basename}" /driver-root
2626
fi

0 commit comments

Comments
 (0)