From 8305477e01d0e07a9ab166c2b95cee19ca68b11d Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Wed, 22 Jun 2016 23:54:14 +0200 Subject: [PATCH] fix typo Signed-off-by: Steven Armstrong --- cdist/conf/type/__install_config/gencode-local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/conf/type/__install_config/gencode-local b/cdist/conf/type/__install_config/gencode-local index 4f1dcc23..cbf916da 100755 --- a/cdist/conf/type/__install_config/gencode-local +++ b/cdist/conf/type/__install_config/gencode-local @@ -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