mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-10-12 21:54:59 +08:00
fix: Check if logfile exists (#1046)
This commit is contained in:
parent
fc7ab22741
commit
fd5ec52226
@ -327,7 +327,7 @@ configurePasst() {
|
|||||||
tail -fn +0 "$log" &
|
tail -fn +0 "$log" &
|
||||||
else
|
else
|
||||||
if [[ "$DEBUG" == [Yy1]* ]]; then
|
if [[ "$DEBUG" == [Yy1]* ]]; then
|
||||||
cat "$log" && echo ""
|
[ -f "$log" ] && cat "$log" && echo ""
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user