The order in which -S|--status and --pidfile are specified will determine success of command:
# ./mon --pidfile /var/run/checkd.pid -S
13858 : alive : uptime 15 seconds
# ./mon -S --pidfile /var/run/checkd.pid
Error: --pidfile required
It should not matter whether -S|--status comes before or after the --pidfile argument. I don't think it should matter at least. There is nothing seemingly to be gained from having specific ordering.
The order in which
-S|--statusand--pidfileare specified will determine success of command:It should not matter whether
-S|--statuscomes before or after the--pidfileargument. I don't think it should matter at least. There is nothing seemingly to be gained from having specific ordering.