AutoYADM commit: 2025-03-18 00:30:07
This commit is contained in:
parent
ddffd6bcf6
commit
acf7566983
1 changed files with 4 additions and 1 deletions
|
@ -5,8 +5,11 @@
|
|||
PIPE="/tmp/email_refresh_pipe"
|
||||
# COUNT="/tmp/email_count"
|
||||
|
||||
if [ -f /tmp/email_indicator_lock ]; then
|
||||
exit 1
|
||||
fi
|
||||
# Create pipe if doesn't exist
|
||||
[[ -p "$PIPE" ]] || mkfifo "$PIPE"
|
||||
[[ -p "$PIPE" ]] || mkfifo "$PIPE" && touch /tmp/email_indicator_lock
|
||||
|
||||
# if [ ! -e "$COUNT" ]; then
|
||||
# echo "0" > "$COUNT"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue