summaryrefslogblamecommitdiffstats
path: root/deskutils/gnomeutils2/files/patch-logview_userprefs.c
blob: d93f8ae57fc2768a394651cdbf824f629f6df018 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                            
--- logview/userprefs.c.orig    Tue Nov 30 00:35:05 2004
+++ logview/userprefs.c Tue Nov 30 00:36:34 2004
@@ -56,6 +56,7 @@
            /* remove trailing newline */
            if (logfile[strlen(logfile)-1] == '\n')
                logfile[strlen(logfile)-1] = '\0';
+           if (strcmp (logfile, "/dev/console") == 0) continue;
            return logfile;
        }
    }