Missing return.
[apps/madmutt.git] / lib-mx / mx.c
index 98bd9fa..5d735c6 100644 (file)
@@ -67,7 +67,7 @@ static int undotlock_file (const char *path)
 {
     char lockfile[PATH_MAX];
     snprintf(lockfile, sizeof(lockfile), "%s.lock", path);
-    lockfile_remove(lockfile);
+    return lockfile_remove(lockfile);
 }
 
 /* looks up index of type for path in mxfmts */