aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/kiss-chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/kiss-chroot b/contrib/kiss-chroot
index 52d5115..42146f9 100755
--- a/contrib/kiss-chroot
+++ b/contrib/kiss-chroot
@@ -38,7 +38,7 @@ main() {
}
log Copying /etc/resolv.conf from host; {
- [ ! -f "/$1/etc/resolv.conf" ] && cp /etc/resolv.conf "$1/etc"
+ [ -f "/$1/etc/resolv.conf" ] || cp /etc/resolv.conf "$1/etc"
}
log Entering chroot; {