struct initshutdown_String msg_string;
struct initshutdown_String_sub s;
- if (opt_comment) {
+ if (opt_comment && strlen(opt_comment)) {
msg = opt_comment;
}
if (opt_timeout) {
NTSTATUS result;
WERROR werr;
- if (opt_comment) {
+ if (opt_comment && strlen(opt_comment)) {
msg = opt_comment;
}
s.name = msg;