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:
d6e0d97
)
correct typo
author
paperbenni
<paperbenni@gmail.com>
Thu, 10 Dec 2020 22:17:01 +0000
(23:17 +0100)
committer
paperbenni
<paperbenni@gmail.com>
Thu, 10 Dec 2020 22:17:01 +0000
(23:17 +0100)
programs/instantshutdown
patch
|
blob
|
history
diff --git
a/programs/instantshutdown
b/programs/instantshutdown
index
68a6045
..
2c09f98
100755
(executable)
--- a/
programs/instantshutdown
+++ b/
programs/instantshutdown
@@
-11,7
+11,7
@@
if [ "$(pgrep instantshutdown | wc -l)" -gt 2 ]; then
exit
fi
-if [ -
z
"$1" ]; then
+if [ -
n
"$1" ]; then
answer="$1"
else
answer="$(echo 'cancel