index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2014-05-10 09:31:26 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-09-22 08:25:43 -0400 |
commit | 98841eb694fa3cd575fde60e562586cf33415c5b (patch) | |
tree | cf4c641b75450bcd2a9e0d1f39803fc8a77a030b /lib | |
parent | be00fcd47b9fa6ebdab7173372ab219514e0b88d (diff) |
-rw-r--r-- | lib/common.sh | 3 |
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.' } |