diff --git a/usr.sbin/pw/pw_conf.c b/usr.sbin/pw/pw_conf.c
index 10ded5cfe107..b723c31a39dd 100644
--- a/usr.sbin/pw/pw_conf.c
+++ b/usr.sbin/pw/pw_conf.c
@@ -348,6 +348,7 @@ read_userconfig(char const * file)
 					if (errstr)
 						warnx("Invalid min_gid: '%s';"
 						    " ignoring", q);
+				}
 				break;
 			case _UC_MAXGID:
 				if ((q = unquote(q)) != NULL) {