1
0

Change the script to ignore non interactive ssh shells

This commit is contained in:
2025-12-24 04:28:38 +01:00
parent 9a428a18f0
commit fbc642564b

View File

@@ -1,4 +1,8 @@
#!/bin/bash
# Ignore non interactive git shells like git since that's just annoying.
if [ -z "$SSH_TTY" ]; then
exit 0
fi
# Your ntfy topic URL
NTFY_TOPIC="bla bla bla"