Permalink
Browse files

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

  • Loading branch information...
1 parent 58ed438 commit 3fbbdf19224c26b80b161666b37cec70ac5dd6d2 @williamh committed May 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 espeakup.c
View
@@ -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;
}

0 comments on commit 3fbbdf1

Please sign in to comment.