summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-10-05 19:35:14 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-10-05 19:35:14 -0500
commit383ee6cc45b56086e7e5ea8846a1c0adae3cc035 (patch)
tree344427be966d04135f2dce07e3bf8ba0784904c6
parent8125023126e165ecbe5bd01495ac30bfd94273b6 (diff)
Do not save quirks if we were inhibited.
-rwxr-xr-xpm/sleep.d/00auto-quirk1
1 files changed, 1 insertions, 0 deletions
diff --git a/pm/sleep.d/00auto-quirk b/pm/sleep.d/00auto-quirk
index 839c2c0..e45686e 100755
--- a/pm/sleep.d/00auto-quirk
+++ b/pm/sleep.d/00auto-quirk
@@ -64,6 +64,7 @@ maybe_add_quirks()
maybe_save_quirks()
{
+ inhibited && return 0
has_parameter --store-quirks-as-fdi && do_save_quirks
return 0
}