projects
/
git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Sync with 2.3.9
[git]
/
contrib
/
hooks
/
pre-auto-gc-battery
diff --git
a/contrib/hooks/pre-auto-gc-battery
b/contrib/hooks/pre-auto-gc-battery
index
9d0c2d1
..
6a2cdeb
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