diff options
| author | default <nobody@localhost> | 2026-08-26 08:05:16 +0200 |
|---|---|---|
| committer | default <nobody@localhost> | 2026-08-26 08:05:16 +0200 |
| commit | d7fc3d950d4654a3291066fed667f1b7d48e70bb (patch) | |
| tree | bd3c353caf64678650d0826c28dddde5e98261ea /utils.c | |
| parent | 48aba53ddbca75bfdbda7d224c6d2c315fcd282a (diff) | |
Use snac_op in grave().
Diffstat (limited to 'utils.c')
| -rw-r--r-- | utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -372,7 +372,7 @@ int adduser(const char *uid) } /* remove the grave */ - grave(uid, 2); + grave(uid, OP_DEL); printf("\nUser password is %s\n", pwd); @@ -467,7 +467,7 @@ int deluser(snac *user) } } - grave(user->uid, 1); + grave(user->uid, OP_ADD); rm_rf(user->basedir); |