adjust
This commit is contained in:
parent
cc880e8514
commit
49a2472c52
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue