From 49a2472c5231df13af0b823d6843168a24e35807 Mon Sep 17 00:00:00 2001 From: Cyberes Date: Sat, 22 Jun 2024 20:04:29 -0600 Subject: [PATCH] adjust --- check_nfs_shares.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_nfs_shares.sh b/check_nfs_shares.sh index d567144..60caefa 100755 --- a/check_nfs_shares.sh +++ b/check_nfs_shares.sh @@ -12,7 +12,7 @@ print_help() { exit 1 } -if [ "$#" -ne 4 ] || [ "$1" == "-help" ] || [ "$1" == "--help" ]; then +if [ "$#" -ne 4 ] || [ "$1" == "--help" ]; then print_help fi @@ -45,7 +45,7 @@ for share in "${share_array[@]}"; do done if $all_ok; then - echo "OK - All specified shares are exported on $host | share_count=$share_count" + echo "OK - All $share_count shares are exported on $host | share_count=$share_count" fi exit 0