rcp: Allow only 3 args

This commit is contained in:
tschettervictor
2025-01-21 07:59:55 -07:00
committed by GitHub
parent 42d1c13058
commit 25cc612f46

View File

@@ -76,7 +76,7 @@ while [ "$#" -gt 0 ]; do
esac
done
if [ "$#" -lt 2 ] || [ "$#" -gt 3 ]; then
if [ "$#" -ne 3 ]; then
usage
fi