diff --git a/lib/common.sh b/lib/common.sh index 104850b312cacf2af42bdfa0a1fc9eb73004099b..f6aea931bf9b0185ffe4c6dfb3b248fe4dcd9f73 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -238,7 +238,6 @@ check_root() { if type -P sudo >/dev/null; then exec sudo -- "$@" else - exec su root -c "$(printf '%q' "$@")" + exec su root -c "$(printf ' %q' "$@")" fi - die 'This script must be run as root.' }