Skip to content

Commit

Permalink
safer script
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinholz committed Jan 24, 2024
1 parent b949dac commit 13120e8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/generate_new_test_pems.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/expect
# Check if a parameter is provided
# Check if a parameter is provided
if [ -z "$1" ]; then
echo "Usage: $0 <IP or DNS-Name>"
exit 0 # Exit without an error code
fi
echo Creating new dir "new_pem"
mkdir $1
cd $1
Expand Down

0 comments on commit 13120e8

Please sign in to comment.