summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dkp-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dkp-daemon.c b/src/dkp-daemon.c
index 20e65f8..eb16a63 100644
--- a/src/dkp-daemon.c
+++ b/src/dkp-daemon.c
@@ -563,7 +563,7 @@ dkp_daemon_hibernate (DkpDaemon *daemon, DBusGMethodInvocation *context)
}
/* encrypted swap? */
- if (!daemon->priv->hibernate_has_encrypted_swap) {
+ if (daemon->priv->hibernate_has_encrypted_swap) {
error = g_error_new (DKP_DAEMON_ERROR,
DKP_DAEMON_ERROR_GENERAL,
"Swap space is encrypted");