diff options
| author | Devin Teske <dteske@FreeBSD.org> | 2013-03-04 11:43:20 +0000 |
|---|---|---|
| committer | Devin Teske <dteske@FreeBSD.org> | 2013-03-04 11:43:20 +0000 |
| commit | 1585dcea41c23e9c7f9d217de38d156533871558 (patch) | |
| tree | 24b6d6f7c2de9f5ea08c5ea35bd458f8fdd8dc6b /usr.sbin | |
| parent | 39d96b458e863157a48f753754f1b79ddb9ed1ec (diff) | |
MFC r247780:
Fix VERBOSE reporting on results when removing _PATH_LOCALTIME for UTC option.
PR: bin/164976
Submitted by: dteske
Notes
svn path=/stable/8/; revision=247782
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/tzsetup/tzsetup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/tzsetup/tzsetup.c b/usr.sbin/tzsetup/tzsetup.c index 93cb28d164b5..7b363f0ba376 100644 --- a/usr.sbin/tzsetup/tzsetup.c +++ b/usr.sbin/tzsetup/tzsetup.c @@ -588,8 +588,13 @@ install_zoneinfo_file(const char *zoneinfo_file) return (DITEM_FAILURE | DITEM_RECREATE); } #ifdef VERBOSE + snprintf(title, sizeof(title), "Done"); snprintf(prompt, sizeof(prompt), "Removed %s", path_localtime); + if (usedialog) + dialog_msgbox(title, prompt, 8, 72, 1); + else + fprintf(stderr, "%s\n", prompt); #endif return (DITEM_LEAVE_MENU); } |
