Hello Michael!

> Ok, I can reproduce the bug. Will probably not take long to get it fixed.
I have looked into the source and with patch it works. I cannot believe
that this is all but it work (;-))

> Thanks for the report!
Your welcome (blush)

CU  
         
  Michael
          
-- 
    ,''`.   
   : :' :   Michael Ott 
   `. `'    e-mail: michael at king-coder dot de
     `-

diff -pbaur devicekit-power-012.orig/src/dkp-daemon.c 
devicekit-power-012/src/dkp-daemon.c
--- devicekit-power-012.orig/src/dkp-daemon.c   2009-10-16 16:42:51.000000000 
+0200
+++ devicekit-power-012/src/dkp-daemon.c        2009-10-21 08:38:36.000000000 
+0200
@@ -563,7 +563,7 @@ dkp_daemon_hibernate (DkpDaemon *daemon,
        }
 
        /* 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");

Attachment: signature.asc
Description: Digital signature

Reply via email to