diff options
author | Daniel Mack <github@zonque.org> | 2015-11-03 07:15:44 +0100 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-11-03 07:15:44 +0100 |
commit | a31afe1a18cca840046d976a637c7918ec6f5fe2 (patch) | |
tree | 11fd3c0d57bcae37069117036904fe3a8c7f7209 /src/rfkill/rfkill.c | |
parent | 3342582deb95b6e364541435654eb8f6fa320f40 (diff) | |
parent | 2c1a55cf3fe78bcf728f73487813ddd3ee020a98 (diff) |
Merge pull request #1758 from poettering/varietygalore
A grab bag of stuff
Diffstat (limited to 'src/rfkill/rfkill.c')
-rw-r--r-- | src/rfkill/rfkill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfkill/rfkill.c b/src/rfkill/rfkill.c index bb00f99ecf..5c45a3ae6c 100644 --- a/src/rfkill/rfkill.c +++ b/src/rfkill/rfkill.c @@ -212,7 +212,7 @@ static int load_state( assert(udev); assert(event); - if (!shall_restore_state()) + if (shall_restore_state() == 0) return 0; r = find_device(udev, event, &device); |