[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#286502: missing ] in /etc/init.d/xfs



Package: xfs
Version: 4.3.0.dfsg.1-9
Severity: normal
Tags: patch
hi,
there i a mistake in /etc/init.d/xfs:
sudo /etc/init.d/xfs restart
Stopping X font server: xfs.
Setting up X font server socket directory /tmp/.font-unix.../etc/init.d/xfs: line 24: [: missing `]'
done.
Starting X font server: xfs.

i wrote a patch, it is in the attachment.
regards nico


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15) (ignored: LC_ALL set to de_DE@euro)

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

-- 
Nico Golde - 310777820@ICQ | GPG: 1024D/73647CFF ,'"`.
nico@ngolde.de | http://www.ngolde.de           (  grml.org
VIM has two modes - the one in which it beeps    `._,'   
and the one in which it doesn't -- encrypted mail preferred
--- /etc/init.d/xfs	2004-12-20 15:07:57.000000000 +0100
+++ xfs.patch	2004-12-20 15:07:25.000000000 +0100
@@ -21,7 +21,7 @@
 
 set_up_socket_dir () {
   echo -n "Setting up X font server socket directory $SOCKET_DIR..."
-  if [ -e $SOCKET_DIR && ! [ -d $SOCKET_DIR ]; then
+  if [ -e $SOCKET_DIR ] && ! [ -d $SOCKET_DIR ]; then
     mv $SOCKET_DIR $SOCKET_DIR.$$
   fi
   mkdir -p $SOCKET_DIR

Attachment: signature.asc
Description: Digital signature


Reply to: