Did I break everything again ? You can't prove it!

This commit is contained in:
Alexandre Aubin 2021-03-09 16:15:50 +01:00
parent 473da583d2
commit 1b3f2fba0f

View file

@ -251,7 +251,7 @@ Page extract:\n$page_extract" > $TEST_CONTEXT/curl_result
if [[ $curl_error -ne 0 ]] && echo "5" | grep -q "${http_code:0:1}"
then
LXC_EXEC "systemctl" | grep "$app_id_to_check.*service"
for SERVICE in LXC_EXEC "systemctl" | grep "$app_id_to_check.*service" | awk '{print $1}'
for SERVICE in $(LXC_EXEC "systemctl" | grep "$app_id_to_check.*service" | awk '{print $1}')
do
LXC_EXEC "journalctl --no-pager --no-hostname -n 30 -u $SERVICE";
done