diff --git a/hooks/pre-auto-gc b/hooks/pre-auto-gc index 360e5e1f..43403022 100755 --- a/hooks/pre-auto-gc +++ b/hooks/pre-auto-gc @@ -35,7 +35,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 elif test -d /sys/bus/acpi/drivers/battery && test 0 = \