This happend because of a broken symlink. To really test if resolv.conf exist, use: if [ ! -e "$REMASTER_DIR/etc/resolv.conf" -a ! -h "$REMASTER_DIR/etc/resolv.conf" ] ; then
So, you can retain the failure message if resolv.conf really not exist.
This happend because of a broken symlink. DIR/etc/ resolv. conf" -a ! -h "$REMASTER_ DIR/etc/ resolv. conf" ] ; then
To really test if resolv.conf exist, use:
if [ ! -e "$REMASTER_
So, you can retain the failure message if resolv.conf really not exist.