Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common.sh')
-rw-r--r--lib/common.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/common.sh b/lib/common.sh
index 104850b..f6aea93 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.'
}