Control: tags -1 patch

Michael,

Thanks.

I suppose we can only print the warning message if VERBOSE mode.

Is the behaviour better with this patch?

Mark

commit 0ef23f5b322b83f9be8cc466009c3ca99039025f
Author: Mark Hindley <m...@hindley.org.uk>
Date:   Fri Feb 21 16:21:55 2025 +0000

    if-up.d/mountnfs: only print warning message if VERBOSE.
    
    Closes: #578247

diff --git a/debian/src/initscripts/etc/network/if-up.d/mountnfs 
b/debian/src/initscripts/etc/network/if-up.d/mountnfs
index 11e52f2c..937125c7 100644
--- a/debian/src/initscripts/etc/network/if-up.d/mountnfs
+++ b/debian/src/initscripts/etc/network/if-up.d/mountnfs
@@ -131,7 +131,7 @@ exit_unless_last_interface() {
        fi
        if ! ifquery --state $i >/dev/null ; then
            msg="if-up.d/mountnfs[$IFACE]: waiting for interface $i before 
doing NFS mounts"
-           log_warning_msg "$msg"
+           [ "$VERBOSE" ] && log_warning_msg "$msg"
            exit 0
        fi
     done

Reply via email to