Package: iscsitarget
Version: 0.4.15+svn148-1
Severity: serious
Tags: patch

--- Please enter the report below this line. ---
I can not correctly stop my iscsi targets :

[EMAIL PROTECTED]:~$ sudo /etc/init.d/iscsitarget stop
Removing iSCSI enterprise target devices: /etc/init.d/iscsitarget: line 76: 
[: !=: unary operator expected
failed with reason :


Correction :
[EMAIL PROTECTED]:~$ diff /etc/init.d/iscsitarget /etc/init.d/iscsitarget.new
76c76
<       if [ $RETVAL = "0" ] && [ $RETURN != "something wrong" ] ; then
---
>       if [ $RETVAL = "0" ] && [ "$RETURN" != "something wrong" ] ; then


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.24-1-amd64

Debian Release: lenny/sid
  600 unstable        aptsrc 
  500 lenny           62.43.64.122 
  200 experimental    aptsrc 

--- Package information. ---
Depends             (Version) | Installed
=============================-+-==============
libc6              (>= 2.7-1) | 2.7-9
libssl0.9.8     (>= 0.9.8f-1) | 0.9.8g-7

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to