debian-x@lists.debian.org
[Top] [All Lists]

Bug#286043: xfs: init.d scrip has bad "test[]" paramiters.

Subject: Bug#286043: xfs: init.d scrip has bad "test[]" paramiters.
From: "Mike Mestnik) (the Archmage forever"
Date: Thu, 16 Dec 2004 21:33:57 -0600
Package: xfs
Version: 4.3.0.dfsg.1-9
Severity: normal

Line 24 of /etc/init.d/xfs should read...
if [ -e $SOCKET_DIR -a ! -d $SOCKET_DIR ]; then
and not...
if [ -e $SOCKET_DIR && [ ! -d $SOCKET_DIR ]; then
The latter is clearly missing an ']'.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (950, 'testing'), (150, 'unstable'), (140, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xfs depends on:
ii  libc6                       2.3.2.ds1-19 GNU C Library: Shared libraries an
ii  zlib1g                      1:1.2.2-4    compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-x-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>