We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 468af43 + c23e08c commit 54801dfCopy full SHA for 54801df
1 file changed
rootfs/etc/cont-finish.d/10-postgres
@@ -10,7 +10,7 @@ fi
10
11
log_info "Wait for Viseron to stop..."
12
PID=$(pgrep -f ^viseron)
13
-while ps -p $PID > /dev/null; do
+while [ -n "$PID" ] && ps -p $PID > /dev/null; do
14
sleep 1
15
done
16
log_info "Viseron has stopped!"
0 commit comments