lock_file: explicitly ignore failure of file removal
authorFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 16 Nov 2015 13:35:24 +0000 (14:35 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 16 Nov 2015 14:26:30 +0000 (15:26 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
src/lock_file.c

index 6b4bd6d..ccd9ad9 100644 (file)
@@ -180,5 +180,5 @@ void olsr_remove_lock_file(void) {
     return;
   }
 
-  remove(olsr_cnf->lock_file);
+  (void)remove(olsr_cnf->lock_file);
 }