AutoYADM commit: 2025-03-18 00:30:07

This commit is contained in:
Daniel Fichtinger 2025-03-18 00:30:07 -04:00
parent ddffd6bcf6
commit acf7566983

View file

@ -5,8 +5,11 @@
PIPE="/tmp/email_refresh_pipe" PIPE="/tmp/email_refresh_pipe"
# COUNT="/tmp/email_count" # COUNT="/tmp/email_count"
if [ -f /tmp/email_indicator_lock ]; then
exit 1
fi
# Create pipe if doesn't exist # Create pipe if doesn't exist
[[ -p "$PIPE" ]] || mkfifo "$PIPE" [[ -p "$PIPE" ]] || mkfifo "$PIPE" && touch /tmp/email_indicator_lock
# if [ ! -e "$COUNT" ]; then # if [ ! -e "$COUNT" ]; then
# echo "0" > "$COUNT" # echo "0" > "$COUNT"