A little mistake...

This commit is contained in:
Maniack Crudelis 2017-10-30 17:05:07 +01:00 committed by GitHub
parent e624d432b3
commit ce12c1b4b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,7 +127,7 @@ RESTORE_SNAPSHOT () {
} }
RESTORE_ARCHIVE_SNAPSHOT () { RESTORE_ARCHIVE_SNAPSHOT () {
if ! test -e "/var/lib/lxcsnaps/$LXC_NAME/snap1.tar.gz"; then if ! test -e "/var/lib/lxcsnaps/$LXC_NAME/snap0.tar.gz"; then
echo -e "\e[91mAucune archive de snapshot pour le conteneur $LXC_NAME.\e[0m" echo -e "\e[91mAucune archive de snapshot pour le conteneur $LXC_NAME.\e[0m"
return 1 return 1
fi fi