From: sapanb Date: Wed, 16 Apr 2008 23:33:48 +0000 (+0000) Subject: Changing the home of fprobe --> /var/local X-Git-Tag: fprobe-ulog-1.1.3-3~39 X-Git-Url: http://git.onelab.eu/?p=fprobe-ulog.git;a=commitdiff_plain;h=7dd5b0ecf6453d38dcf5ef340a9b4a1873094f2e Changing the home of fprobe --> /var/local git-svn-id: http://svn.planet-lab.org/svn/fprobe-ulog/trunk@9042 8c455092-636d-4788-adf5-e71def0336e8 --- diff --git a/src/fprobe-ulog.c b/src/fprobe-ulog.c index 3787de8..1e77269 100644 --- a/src/fprobe-ulog.c +++ b/src/fprobe-ulog.c @@ -1286,7 +1286,7 @@ static int init_daemon() { 3. change the file creation permission */ setsid(); - chdir("/usr/local/fprobe"); + chdir("/var/local/fprobe"); umask(0); return(0);