Commit ce47e529 by Heechul Kim

fix typo.

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
parent 70eeaa53
Showing with 1 additions and 1 deletions
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment