Skip to content
Snippets Groups Projects
Commit c11e7b8c authored by efer's avatar efer
Browse files

escape backslash

parent 6e57c2a7
No related branches found
No related tags found
No related merge requests found
......@@ -581,7 +581,7 @@ logupdate(){
grep ERROR \$LOG-last >> \$LOG-short
fi
LNO=\$( grep -n 'INFO' \$LOG-last | tail -1 | cut -d":" -f1 )
sed -n "\$LNO,\$p" \$LOG-last >> \$LOG-short
sed -n "\$LNO,\\\$p" \$LOG-last >> \$LOG-short
echo -e "#### BACKUP END: \$(date +%Y-%m-%d\ %H:%M:%S)" >> \$LOG-short
cat \$LOG-last >> \$LOG
rm -f \$LOG-last
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment