aboutsummaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2026-04-29 18:36:43 +0200
committergrunfink <grunfink@comam.es>2026-04-29 18:36:43 +0200
commit9c033f452e9a07eb2bdedc51648269e5d285491b (patch)
tree9a8b678b00866a835d63663cf8ed18d23a01f6e6 /data.c
parent8e413311cebc482b70dc41a1ab1be1662362f878 (diff)
In adduser(), delete the (possible) grave.
Diffstat (limited to 'data.c')
-rw-r--r--data.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/data.c b/data.c
index 992a42f..7fb261c 100644
--- a/data.c
+++ b/data.c
@@ -3303,6 +3303,10 @@ int grave(const char *objid, int op)
}
break;
+
+ case 2: /** del **/
+ unlink(fn);
+ break;
}
return ret;