]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/watchdog.c
dhb Medialist : created context menu function and moved lines which create
[bacula/bacula] / bacula / src / lib / watchdog.c
old mode 100755 (executable)
new mode 100644 (file)
index 8cf8176..e28be11
@@ -9,7 +9,7 @@
 /*
    Bacula® - The Network Backup Solution
 
-   Copyright (C) 2000-2006 Free Software Foundation Europe e.V.
+   Copyright (C) 2002-2006 Free Software Foundation Europe e.V.
 
    The main author of Bacula is Kern Sibbald, with contributions from
    many others, a complete list can be found in the file AUTHORS.
@@ -84,11 +84,11 @@ int start_watchdog(void)
    }
    wd_queue = New(dlist(dummy, &dummy->link));
    wd_inactive = New(dlist(dummy, &dummy->link));
+   wd_is_init = true;
 
    if ((stat = pthread_create(&wd_tid, NULL, watchdog_thread, NULL)) != 0) {
       return stat;
    }
-   wd_is_init = true;
    return 0;
 }