Skip to contentSkip to conversation

Fix a bashism in hotplug.functions

PATCH New Martin Hicks 1 participant 1 message Dec 4, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix a bashism in hotplug.functions

Here is another POSIX fixup for hotplug.functions.

mh

Signature · 1 line
Martin Hicks || [email protected] || PGP/GnuPG: 0x4C7F2BEE

Index: hotplug.functions
===================================================================
RCS file: /cvsroot/linux-hotplug/admin/etc/hotplug/hotplug.functions,v retrieving revision 1.22

hotplug.functions +1 -1
diff -u -p -r1.22 hotplug.functions
@@ -32,7 +32,7 @@ fi
 #
 # for diagnostics
 #
-if [ -t -o -z "$LOGGER" ]; then
+if [ -t 1 -o -z "$LOGGER" ]; then
     mesg () {
 	echo "$@"
     }