OSDN Git Service
(root)
/
instantos
/
instantOS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd5b927
)
fix shutdown menu
author
paperbenni
<paperbenni@gmail.com>
Wed, 22 Jul 2020 21:44:39 +0000
(23:44 +0200)
committer
paperbenni
<paperbenni@gmail.com>
Wed, 22 Jul 2020 21:44:39 +0000
(23:44 +0200)
programs/instantshutdown
patch
|
blob
|
history
diff --git
a/programs/instantshutdown
b/programs/instantshutdown
index
bfbe379
..
dc655ea
100755
(executable)
--- a/
programs/instantshutdown
+++ b/
programs/instantshutdown
@@
-5,7
+5,7
@@
###################################################
# multiple instances would overlap
-if
pgrep instantmenu
; then
+if
! pgrep instantshutdown | wc -l | grep -q '1'
; then
echo "instantmenu already running"
exit
fi