Miklos Vajna <vmiklos@xxxxxxxxxxxxxx> writes: > +if test -x /sbin/on_ac_power && /sbin/on_ac_power > +then > + /sbin/on_ac_power > + if [ $? = 1 ]; then > + exit 0 > + fi Shouldn't the above be: if test -x /sbin/on_ac_power && /sbin/on_ac_power then exit 0 That is, you checked if you have the command to check on-ac-power-ness, and the command says yes, so you happily let "gc --auto" do its thing. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html