* [PATCH] Fix a bashism in hotplug.functions
@ 2003-12-04 15:21 Martin Hicks
0 siblings, 0 replies; only message in thread
From: Martin Hicks @ 2003-12-04 15:21 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1: Type: text/plain, Size: 121 bytes --]
Here is another POSIX fixup for hotplug.functions.
mh
--
Martin Hicks || mort@bork.org || PGP/GnuPG: 0x4C7F2BEE
[-- Attachment #1.2: hotplug-functions-bashism.diff --]
[-- Type: text/x-patch, Size: 490 bytes --]
Index: hotplug.functions
===================================================================
RCS file: /cvsroot/linux-hotplug/admin/etc/hotplug/hotplug.functions,v
retrieving revision 1.22
diff -u -p -r1.22 hotplug.functions
--- hotplug.functions 7 Oct 2003 21:15:38 -0000 1.22
+++ hotplug.functions 4 Dec 2003 14:44:26 -0000
@@ -32,7 +32,7 @@ fi
#
# for diagnostics
#
-if [ -t -o -z "$LOGGER" ]; then
+if [ -t 1 -o -z "$LOGGER" ]; then
mesg () {
echo "$@"
}
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-12-04 15:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-04 15:21 [PATCH] Fix a bashism in hotplug.functions Martin Hicks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).