diff options
author | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2006-02-27 19:58:01 +0000 |
---|---|---|
committer | mnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6> | 2006-02-27 19:58:01 +0000 |
commit | d36a7e7bba6b0c2ea423fb6c5b5530e84f4d3fcf (patch) | |
tree | 66a461e484717771ffdfcc8ea9bd67ebbaf5ad4d /etc/initd | |
parent | aded8da87d2ac0ecb9dd130d4c9fcb5560f39231 (diff) | |
download | open-iscsi-d36a7e7bba6b0c2ea423fb6c5b5530e84f4d3fcf.tar.gz |
from pauw@o2.ie: the iscsiadm with no args prints the help patch broke the redhat script which was relying on iscsiadm to display the session info. this patch just adds a -m
git-svn-id: svn://svn.berlios.de/open-iscsi@498 d7303112-9cec-0310-bdd2-e83a94d6c2b6
Diffstat (limited to 'etc/initd')
-rw-r--r-- | etc/initd/initd.redhat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/initd/initd.redhat b/etc/initd/initd.redhat index 01b673f..59c167d 100644 --- a/etc/initd/initd.redhat +++ b/etc/initd/initd.redhat @@ -48,7 +48,7 @@ stop_iscsid() { RETVAL=0 sync - TARGETS=`$ISCSIADM | grep "\[*\]" | sed 's@\[\(.*\)\] .*@\1@g'` + TARGETS=`$ISCSIADM -m session | grep "\[*\]" | sed 's@\[\(.*\)\] .*@\1@g'` for rec in $TARGETS do $ISCSIADM -m node -r $rec -u |