aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-aliases
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts/ifup-aliases')
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index 163492c3..805579e4 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -11,7 +11,7 @@ fi
current=0
while : ; do
if [ ! -f /etc/sysconfig/network-scripts/$device:$current ]; then
- return
+ exit 0
fi
/etc/sysconfig/network-scripts/ifup $device:$current
current=`expr $current + 1`