forked from ungleich-public/cdist
fix typo
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
ce82e32c59
commit
8305477e01
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ DONE
|
|||
|
||||
cat << DONE
|
||||
$__remote_exec $__target_host << EOSSH
|
||||
if mountpoint -q "${chroot}/etc/resolv.conf";
|
||||
if mountpoint -q "${chroot}/etc/resolv.conf"; then
|
||||
umount "${chroot}/etc/resolv.conf"
|
||||
fi
|
||||
if [ -f "${chroot}/etc/resolv.conf" -a ! -s "${chroot}/etc/resolv.conf" ]; then
|
||||
|
|
Loading…
Reference in a new issue