aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvmx b/kvmx
index ad31f19..9321a03 100755
--- a/kvmx
+++ b/kvmx
@@ -1136,6 +1136,11 @@ function kvmx_log {
logs="$logs $XDMCPLOG"
fi
+ if [ -z "$logs" ]; then
+ echo "$BASENAME: $VM: all logs are empty"
+ exit
+ fi
+
tail -F $logs
}