Merge pull request #11049 from opensourcerouting/fix/usage_for_frrinit.sh

tools: Print usage for frrinit.sh when running without arguments
This commit is contained in:
Donald Sharp 2022-04-19 14:57:03 -04:00 committed by GitHub
commit 95ffdb6475
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,6 +127,8 @@ reload)
;;
*)
log_failure_msg "Unknown command: $1" >&2
echo "Usage:"
echo " ${0} (start|stop|restart|force-reload|reload|status)"
exit 1
;;
esac