diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/kiss-chroot | 2 |
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; { |