summaryrefslogtreecommitdiffstats
path: root/bin/smokeinfo
diff options
context:
space:
mode:
Diffstat (limited to 'bin/smokeinfo')
-rwxr-xr-xbin/smokeinfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/smokeinfo b/bin/smokeinfo
index 77b3653..978f7bf 100755
--- a/bin/smokeinfo
+++ b/bin/smokeinfo
@@ -31,7 +31,7 @@ sub main()
print "\n";
for my $node (@$nodes) {
my $data = $si->stat_node($node,'end-24h','now');
- print join $opt{separator},$node->{path},map {sprintf($opt{format},$data->{$_})} @rows;
+ print join $opt{separator},$node->{path},map {defined $data->{$_} ? sprintf($opt{format},$data->{$_}) : '?'} @rows;
print "\n";
}
}