diff options
author | dteske <dteske@FreeBSD.org> | 2013-03-04 11:34:31 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-03-04 11:34:31 +0000 |
commit | 76f3f2a1e690c4c298a9b4baf95a20c6e7e9be79 (patch) | |
tree | 3c219e5ba903960a22723fcb67e00fd27811b666 /usr.sbin/tzsetup | |
parent | 6dc03862600c95a3a8c18e50f843a082be3a078c (diff) | |
download | FreeBSD-src-76f3f2a1e690c4c298a9b4baf95a20c6e7e9be79.zip FreeBSD-src-76f3f2a1e690c4c298a9b4baf95a20c6e7e9be79.tar.gz |
Fix VERBOSE reporting on results when removing _PATH_LOCALTIME for UTC option.
PR: bin/164976
Submitted by: dteske
Diffstat (limited to 'usr.sbin/tzsetup')
-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 97daa0b..cea8533 100644 --- a/usr.sbin/tzsetup/tzsetup.c +++ b/usr.sbin/tzsetup/tzsetup.c @@ -703,8 +703,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); } |