Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroTochigi committed Feb 10, 2024
1 parent 6b1ca5f commit f52339e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aws/dependencies/replaceIp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ replaceIp() {
newIp=$2

if [ -f "$FILE" ]; then
sudo sed -i "s/$newIp/$oldIp/g" "$FILE"
sed -i "s/$oldIp/$newIp/g" "$FILE"
echo "IP address has been successfully replaced."
else
echo "Error: File $FILE does not exist."
Expand Down

0 comments on commit f52339e

Please sign in to comment.