diff options
-rwxr-xr-x | ctdb/tools/ctdb_diagnostics | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/tools/ctdb_diagnostics b/ctdb/tools/ctdb_diagnostics index a9531d646c..7b48299433 100755 --- a/ctdb/tools/ctdb_diagnostics +++ b/ctdb/tools/ctdb_diagnostics @@ -133,10 +133,10 @@ show_all "ctdb statistics" show_all "ctdb uptime" echo "Showing log.ctdb" -show_all "tail -100 /var/log/log.ctdb" +show_all "test -f /var/log/log.ctdb && tail -100 /var/log/log.ctdb" echo "Showing log.ctdb" -show_all "tail -100 /var/log/log.ctdb" +show_all "test -f /var/log/log.ctdb && tail -100 /var/log/log.ctdb" show_all "tail -200 /var/log/messages" show_all "tail -200 /etc/ctdb/state/vacuum.log" |