Do not try to remove the pid file unless we are in speakup mode

This commit is contained in:
William Hubbs 2011-05-07 10:44:05 -05:00
commit 3fbbdf1922

View file

@ -160,7 +160,7 @@ int main(int argc, char **argv)
espeak_Terminate();
close_softsynth();
if (!debug)
if (!debug && espeakup_mode == ESPEAKUP_MODE_SPEAKUP)
unlink(pidPath);
return 0;
}