summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorandmarti1424 <andmarti@gmail.com>2017-05-10 20:23:23 -0300
committerandmarti1424 <andmarti@gmail.com>2017-05-10 20:23:23 -0300
commit05141ad31a8369af1a1e99a38cf4aadb79046db0 (patch)
treeaafac5b35464e6fd7ee15c98107f0a0c6187d940 /src/main.c
parent2ae2743743e0e9f925f6515b169812ffcf3631dc (diff)
control before pthread_create
Diffstat (limited to 'src/main.c')
-rwxr-xr-xsrc/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index c4a7846..24a069c 100755
--- a/src/main.c
+++ b/src/main.c
@@ -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