Skip to content

Commit

Permalink
Fix checking the arguments of ssh/setup_common.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
AgenttiX committed Oct 21, 2024
1 parent 7e10995 commit e4dc617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh/setup_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ "${EUID}" -eq 0 ]; then
exit 1
fi

if [ -z "$1" ]; then
if [ "$#" -ne 1 ]; then
echo "Please give the name of the repo containing the config files."
exit 1
fi
Expand Down

0 comments on commit e4dc617

Please sign in to comment.