This commit is contained in:
Cyberes 2024-06-22 20:06:23 -06:00
parent 49a2472c52
commit 3ee2e223a9
1 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,11 @@ print_help() {
exit 1 exit 1
} }
if ! command -v showmount &> /dev/null; then
echo "UNKNOWN - 'showmount' is not installed"
exit 3
fi
if [ "$#" -ne 4 ] || [ "$1" == "--help" ]; then if [ "$#" -ne 4 ] || [ "$1" == "--help" ]; then
print_help print_help
fi fi