diff options
author | Bill Nottingham <notting@redhat.com> | 1999-06-21 22:35:07 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-06-21 22:35:07 +0000 |
commit | 70acf9b997428782f90e3d8e1c97074b8888253e (patch) | |
tree | 8dd36c1939b98ff48caeebb5a9ad15cf9e54cebf | |
parent | 928e318914ce5e5f8678fa87c4d4404d28a95a89 (diff) | |
download | initscripts-70acf9b997428782f90e3d8e1c97074b8888253e.tar initscripts-70acf9b997428782f90e3d8e1c97074b8888253e.tar.gz initscripts-70acf9b997428782f90e3d8e1c97074b8888253e.tar.bz2 initscripts-70acf9b997428782f90e3d8e1c97074b8888253e.tar.xz initscripts-70acf9b997428782f90e3d8e1c97074b8888253e.zip |
um, can't 'return' from a shell script
-rw-r--r-- | ChangeLog | 8 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup-aliases | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,11 @@ +1999-06-21 Bill Nottingham <notting@redhat.com> + + * src/process.c: + fix bug in parsing command arguments + + * src/doexec.c: + make doexec not segfault if called with no args.... + 1999-06-18 Bill Nottingham <notting@redhat.com> * sysconfig/network-scripts/ifup-aliases, sysconfig/network-scripts/ifup-routes: 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` |