[Koha-cvs] koha/z3950 z3950-daemon-launch.sh [rel_2_2]

Mason James szrj1m at yahoo.com
Mon Jun 25 06:18:54 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Mason James <sushi>	07/06/25 04:18:54

Modified files:
	z3950          : z3950-daemon-launch.sh 

Log message:
	BUG-1141, small change in 'su' call, now works better in *BSD's too.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/z3950/z3950-daemon-launch.sh?cvsroot=koha&only_with_tag=rel_2_2&r1=1.4.4.1&r2=1.4.4.2

Patches:
Index: z3950-daemon-launch.sh
===================================================================
RCS file: /sources/koha/koha/z3950/Attic/z3950-daemon-launch.sh,v
retrieving revision 1.4.4.1
retrieving revision 1.4.4.2
diff -u -b -r1.4.4.1 -r1.4.4.2
--- z3950-daemon-launch.sh	27 Jun 2005 23:10:55 -0000	1.4.4.1
+++ z3950-daemon-launch.sh	25 Jun 2007 04:18:54 -0000	1.4.4.2
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $Id: z3950-daemon-launch.sh,v 1.4.4.1 2005/06/27 23:10:55 hdl Exp $
+# $Id: z3950-daemon-launch.sh,v 1.4.4.2 2007/06/25 04:18:54 sushi Exp $
 
 # Script to start Koha background Z39.50 search daemon
 
@@ -32,12 +32,15 @@
 	exit 1
 fi
 
-su -c $KohaZ3950Shell - $RunAsUser &
+su -l $RunAsUser -c $KohaZ3950Shell &
 
 exit
 
 #--------------
 # $Log: z3950-daemon-launch.sh,v $
+# Revision 1.4.4.2  2007/06/25 04:18:54  sushi
+# BUG-1141, small change in 'su' call, now works better in *BSD's too.
+#
 # Revision 1.4.4.1  2005/06/27 23:10:55  hdl
 # Removing -s from su call after Thomas D reports it breaks FreeBSD
 #





More information about the Koha-cvs mailing list