Bug 19029 - Apparent typo in /etc/rc.d/init.d/isdn
Summary: Apparent typo in /etc/rc.d/init.d/isdn
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: isdn-config
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-10-13 07:00 UTC by Arthur van Leeuwen
Modified: 2010-11-23 04:47 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-10-13 07:00:04 UTC
Embargoed:


Attachments (Terms of Use)

Description Arthur van Leeuwen 2000-10-13 07:00:00 UTC
Line 386 of /etc/rc.d/init.d/isdn from isdn-config-0.17-7 reads

            if [ -n "SLAVE_TRIGGER" ]; then

which tests if a fixed string is of non-zero length. This should probably
be

            if [ -n "$SLAVE_TRIGGER" ]; then

so that variable expansion takes place on $SLAVE_TRIGGER. Note that
$SLAVE_TRIGGER is used in the following line in the script in the following
fashion:
                log_isdnctrl trigger $slave $SLAVE_TRIGGER

Comment 1 Ngo Than 2000-10-13 12:48:36 UTC
It's fixed. you will find it in rawhide soon. thanks


Note You need to log in before you can comment on or make changes to this bug.