Handle remctl results that are larger than a single pipe buffer
[invirt/packages/invirt-base.git] / files / lib / init / std-init.sh
index 499dc99..855ef23 100644 (file)
@@ -25,9 +25,9 @@ have_reload()
 usage_exit()
 {
   if have_reload; then
-    echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
-  else
     echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
+  else
+    echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
   fi
   exit 3
 }