summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorpooka <pooka@pkgsrc.org>2001-01-16 23:28:11 +0000
committerpooka <pooka@pkgsrc.org>2001-01-16 23:28:11 +0000
commit9107bae4121cd872a773e86d2749146d6c8e0da4 (patch)
treebcdbb91265fa117c922dfbb8dfae5a500fae9df3 /japanese
parent20c34e65249da043234a1719391fac1d9c1315ab (diff)
downloadpkgsrc-9107bae4121cd872a773e86d2749146d6c8e0da4.tar.gz
Correct order of fd redirection to actually make both stdout and stderr
go to devnull. by Masao Uebayashi pkg/11964
Diffstat (limited to 'japanese')
-rw-r--r--japanese/skkserv/files/skkserv.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/japanese/skkserv/files/skkserv.sh b/japanese/skkserv/files/skkserv.sh
index 5f720005cb4..c851ccc8353 100644
--- a/japanese/skkserv/files/skkserv.sh
+++ b/japanese/skkserv/files/skkserv.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: skkserv.sh,v 1.2 2000/10/20 01:29:15 hubertf Exp $
+# $NetBSD: skkserv.sh,v 1.3 2001/01/16 23:28:11 pooka Exp $
#
# PROVIDE: skkserv
# REQUIRE: DAEMON
@@ -15,12 +15,12 @@ case ${cmd} in
start)
if [ -x ${command} ]; then
echo "Starting ${name}."
- ${command} 2>&1 > /dev/null
+ ${command} > /dev/null 2>&1
fi
;;
*)
if [ -x ${command} ]; then
- ${command} ${cmd} 2>&1 > /dev/null
+ ${command} ${cmd} > /dev/null 2>&1
fi
;;
esac