diff options
author | andmarti1424 <andmarti@gmail.com> | 2017-05-10 20:23:23 -0300 |
---|---|---|
committer | andmarti1424 <andmarti@gmail.com> | 2017-05-10 20:23:23 -0300 |
commit | 05141ad31a8369af1a1e99a38cf4aadb79046db0 (patch) | |
tree | aafac5b35464e6fd7ee15c98107f0a0c6187d940 /src/main.c | |
parent | 2ae2743743e0e9f925f6515b169812ffcf3631dc (diff) |
control before pthread_create
Diffstat (limited to 'src/main.c')
-rwxr-xr-x | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -379,7 +379,7 @@ int exit_app(int status) { // wait for autobackup thread to finish, just in case #if defined(AUTOBACKUP) && defined(HAVE_PTHREAD) - if (pthread_exists && fthread) pthread_join (fthread, NULL); + if (fthread) pthread_join (fthread, NULL); #endif // remove backup file |