Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: savecore can't dump



Here's a really dumb workaround to make savecore save again:

diff -u -w -p -r1.80 savecore.c
--- savecore.c  6 Apr 2009 12:32:30 -0000       1.80
+++ savecore.c  21 Jun 2009 01:58:53 -0000
@@ -250,7 +250,7 @@ main(int argc, char *argv[])
        else
                syslog(LOG_ALERT, "reboot");
 
-       if ((!get_crashtime() || !check_space()) && !force)
+       if (!get_crashtime() && !force)
                exit(1);
 
        save_core();




Home | Main Index | Thread Index | Old Index