summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/archroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/archroot.sh b/lib/archroot.sh
index 06d4519..8f063cd 100644
--- a/lib/archroot.sh
+++ b/lib/archroot.sh
@@ -8,7 +8,7 @@ CHROOT_VERSION='v4'
##
# usage : check_root $keepenv
##
-orig_argv=("$0" "$@")
+orig_argv=("${BASH_SOURCE[0]}" "$@")
check_root() {
local keepenv=$1