index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Sébastien Luttringer <seblu@seblu.net> | 2014-01-08 01:15:37 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2014-05-10 08:05:08 +0200 |
commit | 03611dc63e3e44d0504f0d05c3129fbc0b2d1510 (patch) | |
tree | 770ca5cea407be8a4c9ad0cd9ec8b5de30e429f4 /arch-nspawn.in | |
parent | 7aac293d76e4bdf6ceee1cfe5d888060c24f1822 (diff) |
-rw-r--r-- | arch-nspawn.in | 2 |
diff --git a/arch-nspawn.in b/arch-nspawn.in index 6900382..4436a0e 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -37,8 +37,8 @@ while getopts 'hC:M:c:' arg; do done shift $(($OPTIND - 1)) -(( $EUID != 0 )) && die 'This script must be run as root.' (( $# < 1 )) && die 'You must specify a directory.' +check_root "$0" "$@" working_dir=$(readlink -f "$1") shift 1 |