Code

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 3e173c5f466bc412aca110830176dfbfb25d8bfa..51dff31ff07e9e08172708bd7d0192d593e09d7b 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)
        {