aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThan Ngo <than@redhat.com>2001-08-22 10:07:16 +0000
committerThan Ngo <than@redhat.com>2001-08-22 10:07:16 +0000
commitc1835409e6153b40856ef136de5b55b175c9fde9 (patch)
tree85867b262a72ce53cda3d58edfe53f88b79fd534
parent8e2fb66a11bc2d88de240437cce6d206329070db (diff)
downloadinitscripts-c1835409e6153b40856ef136de5b55b175c9fde9.tar
initscripts-c1835409e6153b40856ef136de5b55b175c9fde9.tar.gz
initscripts-c1835409e6153b40856ef136de5b55b175c9fde9.tar.bz2
initscripts-c1835409e6153b40856ef136de5b55b175c9fde9.tar.xz
initscripts-c1835409e6153b40856ef136de5b55b175c9fde9.zip
- fix return code of isdnctrl (bug #52225)
-rw-r--r--ChangeLog4
-rw-r--r--initscripts.spec5
-rwxr-xr-xsysconfig/network-scripts/ifup-ippp2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0d443378..c8c61421 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-22 Than Ngo <than@redhat.com>
+ * sysconfig/network-scripts/ifup-ippp
+ - fix return code of isdnctrl (bug #52225)
+
2001-08-21 Than Ngo <than@redhat.com>
* sysconfig/network-scripts/ifup-ippp
- fix Bringing up isdn device again. It works now correct.
diff --git a/initscripts.spec b/initscripts.spec
index 785250ca..3f80abd3 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -1,6 +1,6 @@
Summary: The inittab file and the /etc/init.d scripts.
Name: initscripts
-Version: 6.24
+Version: 6.25
License: GPL
Group: System Environment/Base
Release: 1
@@ -239,6 +239,9 @@ rm -rf $RPM_BUILD_ROOT
%dir /etc/locale/*/LC_MESSAGES
%changelog
+* Wed Aug 22 2001 Than Ngo <than@redhat.com>
+- fix return code of isdnctrl (bug #52225)
+
* Tue Aug 21 2001 Than Ngo <than@redhat.com>
- fix Bringing up isdn device again. It works now correct.
diff --git a/sysconfig/network-scripts/ifup-ippp b/sysconfig/network-scripts/ifup-ippp
index 4fff2903..0619ac7c 100755
--- a/sysconfig/network-scripts/ifup-ippp
+++ b/sysconfig/network-scripts/ifup-ippp
@@ -49,7 +49,7 @@ function log_echo()
function log_isdnctrl()
{
logger -p daemon.info -t ifup-ppp isdnctrl $*
- isdnctrl $* >/dev/null 2>&1
+ isdnctrl $* >/dev/null 2>&1 || exit 1
}
function create_option_file()