oops - and dont keep starting efsd if we don't need it :)

SVN revision: 5022
This commit is contained in:
Carsten Haitzler 2001-08-01 05:22:39 +00:00
parent a9c76621d2
commit ff60ed35c1
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ static void
_e_fs_restarter(int val, void *data) _e_fs_restarter(int val, void *data)
{ {
if (ec) return; if (ec) return;
if (val > 0) ec = efsd_open();
if ((!ec) && (val > 0))
{ {
if (efsd_pid <= 0) efsd_pid = e_exec_run("efsd -f"); if (efsd_pid <= 0) efsd_pid = e_exec_run("efsd -f");
if (efsd_pid > 0) ec = efsd_open(); if (efsd_pid > 0) ec = efsd_open();