aboutsummaryrefslogtreecommitdiff
path: root/home/bin/chrootfs
diff options
context:
space:
mode:
Diffstat (limited to 'home/bin/chrootfs')
-rwxr-xr-xhome/bin/chrootfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/bin/chrootfs b/home/bin/chrootfs
index 876a03f..5378d47 100755
--- a/home/bin/chrootfs
+++ b/home/bin/chrootfs
@@ -10,9 +10,9 @@ fail() {
rootfs="$1"
-[ -n "$rootfs" ] || fail "Usage: $(basename $0) <directory>"
+[ -n "$rootfs" ] || fail "Usage: $(basename "$0") <directory>"
[ -e "$rootfs" ] || fail "$rootfs does not exist"
-[ "$EUID" -eq 0 ] || fail "$(basename $0) must be run as root"
+[ "$EUID" -eq 0 ] || fail "$(basename "$0") must be run as root"
# Unmount and remove any temporary files
#