summaryrefslogtreecommitdiff
path: root/mkarchroot.in
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-08-16 01:57:39 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-08-16 01:57:39 -0400
commitfabc14e262414debb6bbd562e6a6a37afa2cce79 (patch)
treec569d6edad57db9692fec72383ccbb5687b1d76d /mkarchroot.in
parent06e3de14a9d82b456176c1966919e0bbd457da69 (diff)
parent8dbb02de4f50aeb05c5df2ef8d9c8cf394b4f9ac (diff)
downloaddevtools-fabc14e262414debb6bbd562e6a6a37afa2cce79.tar.xz
Merge remote-tracking branch 'remotes/devtools/master'
Diffstat (limited to 'mkarchroot.in')
-rw-r--r--mkarchroot.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkarchroot.in b/mkarchroot.in
index d7fb884..ba92e15 100644
--- a/mkarchroot.in
+++ b/mkarchroot.in
@@ -51,7 +51,7 @@ fi
umask 0022
-[[ -e $working_dir ]] && die "Working directory '$working_dir' already exists"
+[[ -e $working_dir ]] && die "Working directory '%s' already exists" "$working_dir"
mkdir -p "$working_dir"
@@ -60,7 +60,7 @@ lock 9 "${working_dir}.lock" "Locking chroot"
if [[ $(stat -f -c %T "$working_dir") == btrfs ]]; then
rmdir "$working_dir"
if ! btrfs subvolume create "$working_dir"; then
- die "Couldn't create subvolume for '$working_dir'"
+ die "Couldn't create subvolume for '%s'" "$working_dir"
fi
chmod 0755 "$working_dir"
fi