refresh-pkg-updates.hook: Don't return error when eww is not running
This commit is contained in:
parent
18a8f9801e
commit
bc8c84b214
1 changed files with 1 additions and 1 deletions
|
@ -7,4 +7,4 @@ Target = *
|
||||||
|
|
||||||
[Action]
|
[Action]
|
||||||
When = PostTransaction
|
When = PostTransaction
|
||||||
Exec = /bin/pkill -SIGUSR1 -u 1000 pkg-updates.sh
|
Exec = /bin/pgrep -u 1000 pkg-updates.sh || /bin/pkill -SIGUSR1 -u 1000 pkg-updates.sh
|
||||||
|
|
Loading…
Reference in a new issue