aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbosun2
1 files changed, 1 insertions, 1 deletions
diff --git a/bosun b/bosun
index 49ba22c..6240029 100755
--- a/bosun
+++ b/bosun
@@ -4,7 +4,7 @@
export STOW_DIR=${STOW_DIR:-/etc/portage/stow}
need_root() {
- if test $(id -u) -ne 0; then
+ if test "$(id -u)" -ne 0; then
printf 'This action requires superuser access.\n'
exit 1
fi