diff --git a/registry/scripts/clean.sh b/registry/scripts/clean.sh
index 3ad20258743e7f522b193c3742e1d2b60bb55dc6..b1dd74f4348dae3789e1ce74f0365322f3d1b56a 100755
--- a/registry/scripts/clean.sh
+++ b/registry/scripts/clean.sh
@@ -27,4 +27,4 @@ do
             LINES="$LINES\n$line"
         fi
     done < $conf_file
-    echo -e $LINES > $conf_file
+    echo -e $LINES  | sed 1d > $conf_file