diff --git a/srv/fai/config/hooks/savelog.LAST.sh b/srv/fai/config/hooks/savelog.LAST.sh index c2c6153..5eb93f6 100755 --- a/srv/fai/config/hooks/savelog.LAST.sh +++ b/srv/fai/config/hooks/savelog.LAST.sh @@ -172,7 +172,7 @@ $myignorepatterns" if [ ! -n "$PORCH_URL" ] then echo "PORCH_URL is not set. Let's set it." - PORCH_URL=$(echo $FAI_CONFIG_SRC |cut -d'/' -f1,2,3)a + PORCH_URL=$(echo $FAI_CONFIG_SRC |cut -d'/' -f1,2,3) fi /usr/bin/curl -XPOST $PORCH_URL/api/machine/$HOSTNAME/installed