Removed syslog-entry if `cu_mount_getlist' fails, because it spams a lot ;)
authorocto <octo>
Wed, 5 Apr 2006 06:04:25 +0000 (06:04 +0000)
committerocto <octo>
Wed, 5 Apr 2006 06:04:25 +0000 (06:04 +0000)
src/df.c

index 3e173c5..51dff31 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -110,10 +110,7 @@ static void df_read (void)
 
        mnt_list = NULL;
        if (cu_mount_getlist (&mnt_list) == NULL)
-       {
-               syslog (LOG_WARNING, "cu_mount_getlist returned `NULL'");
                return;
-       }
 
        for (mnt_ptr = mnt_list; mnt_ptr != NULL; mnt_ptr = mnt_ptr->next)
        {