diff options
Diffstat (limited to 'usr.sbin/sysinstall/media.c')
-rw-r--r-- | usr.sbin/sysinstall/media.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/sysinstall/media.c b/usr.sbin/sysinstall/media.c index 380b704..59274e9 100644 --- a/usr.sbin/sysinstall/media.c +++ b/usr.sbin/sysinstall/media.c @@ -409,8 +409,7 @@ mediaSetFTP(dialogMenuItem *self) return DITEM_FAILURE | what; } } - if (isDebug()) - msgDebug("Found DNS entry for %s successfully..\n", hostname); + msgDebug("Found DNS entry for %s successfully..\n", hostname); } variable_set2(VAR_FTP_HOST, hostname, 0); variable_set2(VAR_FTP_DIR, dir ? dir : "/", 0); @@ -511,10 +510,8 @@ mediaSetNFS(dialogMenuItem *self) variable_unset(VAR_NFS_PATH); return DITEM_FAILURE; } - else { - if (isDebug()) - msgDebug("Found DNS entry for %s successfully..", hostname); - } + else + msgDebug("Found DNS entry for %s successfully..", hostname); } variable_set2(VAR_NFS_HOST, hostname, 0); nfsDevice.type = DEVICE_TYPE_NFS; |