Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/export-worktree'
[gitweb.git]
/
contrib
/
hooks
/
pre-auto-gc-battery
diff --git
a/contrib/hooks/pre-auto-gc-battery
b/contrib/hooks/pre-auto-gc-battery
index 9d0c2d1990f813da5e3c8ffa7328cce46c32aae7..6a2cdebdb78c5d9d5a507635f748bda7b2be676d 100755
(executable)
--- a/
contrib/hooks/pre-auto-gc-battery
+++ b/
contrib/hooks/pre-auto-gc-battery
@@
-33,7
+33,7
@@
elif grep -q "AC Power \+: 1" /proc/pmu/info 2>/dev/null
then
exit 0
elif test -x /usr/bin/pmset && /usr/bin/pmset -g batt |
- grep -q "
Currently
drawing from 'AC Power'"
+ grep -q "drawing from 'AC Power'"
then
exit 0
fi