newline needed on delete
This commit is contained in:
1 parent
17c595bde7
commit
a004730725
1 file changed
+1
@@ -154,6 +154,7 @@ if [[ "$SCRIPT_ACTION" == "d" ]]; then
|
||||
curl -s -H "Authorization: Bearer $LINODE_API_KEY" \
|
||||
-X DELETE https://api.linode.com/v4/linode/instances/$INSTANCE_ID
|
||||
echo "$(date -Iminutes) --- Id:$INSTANCE_ID --- IP:$INSTANCE_IP Destroyed $LINODE_LABEL." >>$LOGFILE
|
||||
echo "Instance deleted."
|
||||
fi
|
||||
|
||||
# Connect
|
||||
|
||||
Reference in new issue
Block a user