# HG changeset patch # User Guido Berhoerster # Date 1566325193 -7200 # Node ID 0af8d2d8cd1ab2ca5c4505a1f8d06e57acf21a80 # Parent e3ad9859c51d34703d12f94e9f6c9b6b8d24c245 Improve error message of removegroup command The removegroup comman may also fail if the group is not empty. diff -r e3ad9859c51d -r 0af8d2d8cd1a cmd.c --- a/cmd.c Fri Aug 09 14:04:46 2019 +0200 +++ b/cmd.c Tue Aug 20 20:19:53 2019 +0200 @@ -1176,7 +1176,7 @@ } if (pwfile_remove_group(ctx, argv[1]) != 0) { - pwm_err(ctx, "empty group \"%s\" does not exist", argv[1]); + pwm_err(ctx, "group \"%s\" is not empty or does not exist", argv[1]); return (CMD_ERR); }