From 05141ad31a8369af1a1e99a38cf4aadb79046db0 Mon Sep 17 00:00:00 2001 From: andmarti1424 Date: Wed, 10 May 2017 20:23:23 -0300 Subject: control before pthread_create --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') 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 -- cgit v1.2.3