1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 07:18:06 +02:00

Handle error in backup-config script

This commit is contained in:
Shane Kilkelly 2020-06-12 10:57:57 +01:00
parent 4b76232131
commit c317e14081

View file

@ -48,6 +48,9 @@ function __main__() {
zip -r "$destination" config
elif [[ "$mode" == "tar" ]]; then
tar -cf "$destination" config/*
else
echo "Error: unrecognized mode '$mode'"
exit 1
fi
}