diff --git a/notify.sh b/notify.sh index 728b42e..de64937 100644 --- a/notify.sh +++ b/notify.sh @@ -74,18 +74,18 @@ send_telegram() { } # Execute in parallel -send_ntfy & -PID_NTFY=$! - send_gmail & PID_GMAIL=$! send_telegram & PID_TG=$! +send_ntfy & +PID_NTFY=$! + # Wait for completion -wait $PID_NTFY wait $PID_GMAIL wait $PID_TG +wait $PID_NTFY echo "All notifications processed." \ No newline at end of file