diff --git a/src/serv.c b/src/serv.c index 359cd9ec..2206425c 100644 --- a/src/serv.c +++ b/src/serv.c @@ -379,7 +379,8 @@ int serv_delete(char *arg) if (iforce || yorn("Remove file and symlink(s) to %s (y/N)? ", fn)) { do_disable(arg, 0); - remove(fn); + if (remove(fn)) + err(1, "Failed removing %s", fn); } return 0;