Handle missing RC file.

This commit is contained in:
Daniel Beer 2010-04-10 15:03:18 +12:00
parent 8758d8bc28
commit 7733889703
1 changed files with 2 additions and 1 deletions

3
main.c
View File

@ -75,7 +75,8 @@ static void process_rc_file(void)
return;
snprintf(text, sizeof(text), "%s/.mspdebug", home);
process_file(text);
if (!access(text, F_OK))
process_file(text);
}
#define MODE_RF2500 0x01