make sure to show usage to the user rather than dumping it in /var/log/
[myplc.git] / plc.init
index 309523e..20755d5 100755 (executable)
--- a/plc.init
+++ b/plc.init
@@ -133,7 +133,7 @@ fi
 # Get command
 shift $(($OPTIND - 1))
 if [ -z "$1" ] ; then
-    usage
+    usage >&3
 fi
 command=$1