config/interface_modify.sh: do the echo before running the script
authorStefan Metzmacher <metze@samba.org>
Mon, 12 Jul 2010 12:11:41 +0000 (14:11 +0200)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 15 Jul 2010 05:36:51 +0000 (15:06 +0930)
metze
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
config/interface_modify.sh

index 69601ddef71027d484d4a6d52234e2939d198d4e..27e06ea6739f238f154528b16d83c374c2a9d965 100755 (executable)
@@ -71,12 +71,12 @@ delete_ip_from_iface()
                        test -x "$_s_script" || {
                                continue
                        }
+                       echo "call $_s_script '$_iface' '$_s_ip' '$_s_maskbits'"
                        $_s_script "$_iface" "$_s_ip" "$_s_maskbits" || {
                                ret=$?
                                echo "$_s_script '$_iface' '$_s_ip' '$_s_maskbits' - failed - $ret"
                                _failed=1
                        }
-                       echo "call $_s_script '$_iface' '$_s_ip' '$_s_maskbits'"
                done
 
            done