only attempt to start eeze_scanner a couple times before giving up

ref T1612
This commit is contained in:
Mike Blumenkrantz 2014-12-05 13:53:23 -05:00 committed by Cedric BAIL
parent d37b0761a7
commit 5547694781
1 changed files with 5 additions and 0 deletions

View File

@ -661,7 +661,12 @@ _scanner_write(const void *eet_data __UNUSED__, size_t size __UNUSED__, void *us
static void
_scanner_run(void)
{
static int count;
scanner = ecore_exe_pipe_run("eeze_scanner", ECORE_EXE_NOT_LEADER, pfx);
if (!scanner)
if (++count == 3)
_e_fm_main_catch(EFM_MODE_USING_RASTER_MOUNT);
}