Merge branch 'master' of github.com:kissx/kiss

This commit is contained in:
Dylan Araps 2019-12-19 08:33:02 +00:00
commit 1d1b50218a
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ clean() {
log Cleaning leftover host files; { log Cleaning leftover host files; {
rm -f "$1/root/.ash_history" rm -f "$1/root/.ash_history"
rm -f "$1/etc/resolv.conf"
} }
} }
@ -39,7 +38,7 @@ main() {
} }
log Copying /etc/resolv.conf from host; { log Copying /etc/resolv.conf from host; {
cp /etc/resolv.conf "$1/etc" [ -f "/$1/etc/resolv.conf" ] || cp /etc/resolv.conf "$1/etc"
} }
log Entering chroot; { log Entering chroot; {