summaryrefslogtreecommitdiff
path: root/bin/icli
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-11-20 06:34:21 +0100
committerDaniel Friesel <derf@finalrewind.org>2010-11-20 06:34:21 +0100
commita8a3d4bdb9393631f308f516df7e4ddad423bd33 (patch)
tree6923e8a2bbf03b36f172e10fe0109d5f8e80b81d /bin/icli
parent32c7efe64bc0904bcbb3eecf498ba6f0bf3ad195 (diff)
-ls -vv: Show if problem is acknowledged
Diffstat (limited to 'bin/icli')
-rwxr-xr-xbin/icli3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/icli b/bin/icli
index a5ecb4b..9c6e9b8 100755
--- a/bin/icli
+++ b/bin/icli
@@ -400,10 +400,11 @@ sub display_service {
$s->{'service_description'},
);
printf(
- "%-16s : %s (for %s)\n",
+ "%-16s : %s (for %s)%s\n",
'Status',
service_state($s->{'has_been_checked'}, $s->{'current_state'}),
pretty_duration($s->{'last_state_change'}),
+ ($s->{'problem_has_been_acknowledged'} ? ' (Acknowledged)' : q{}),
);
printf(
$format,