fix bug
authorArjan van de Ven <arjan@linux.intel.com>
Sat, 24 Jan 2009 00:27:25 +0000 (16:27 -0800)
committerArjan van de Ven <arjan@linux.intel.com>
Sat, 24 Jan 2009 00:27:25 +0000 (16:27 -0800)
corewatcher.init

index 2308b8f..71066bf 100755 (executable)
@@ -35,7 +35,7 @@ lockfile=/var/lock/subsys/$prog
 start() {
        echo -n $"Starting $prog:"
        mkdir /var/cores &> /dev/null
-       echo /var/cores > /proc/sys/kernel/core_pattern
+       echo /var/cores/core > /proc/sys/kernel/core_pattern
        daemon $prog  $OPTS
        retval=$?
        echo