Fix VERBOSE reporting on results when removing _PATH_LOCALTIME for UTC option.
PR: bin/164976 Submitted by: dteske
This commit is contained in:
parent
e51c53f366
commit
d2dc532df5
@ -703,8 +703,13 @@ install_zoneinfo_file(const char *zoneinfo_file)
|
|||||||
return (DITEM_FAILURE | DITEM_RECREATE);
|
return (DITEM_FAILURE | DITEM_RECREATE);
|
||||||
}
|
}
|
||||||
#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
|
snprintf(title, sizeof(title), "Done");
|
||||||
snprintf(prompt, sizeof(prompt),
|
snprintf(prompt, sizeof(prompt),
|
||||||
"Removed %s", path_localtime);
|
"Removed %s", path_localtime);
|
||||||
|
if (usedialog)
|
||||||
|
dialog_msgbox(title, prompt, 8, 72, 1);
|
||||||
|
else
|
||||||
|
fprintf(stderr, "%s\n", prompt);
|
||||||
#endif
|
#endif
|
||||||
return (DITEM_LEAVE_MENU);
|
return (DITEM_LEAVE_MENU);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user