Update glacier-remove.sh

This commit is contained in:
everest 2022-04-08 15:58:23 +00:00 committed by GitHub
parent 0b2d3e0e2f
commit bac21d1925
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ if [ "$?" != "0" ]; then
exit 1 exit 1
fi fi
echo "[ i ] Fetching removal instructions..." echo "[ i ] Fetching removal instructions..."
mkdir -v $input && mv -v $inpit.tar.gz $input && cd $input mkdir -v $input && mv -v $input.tar.gz $input && cd $input
tar -xvf $input.tar.gz tar -xvf $input.tar.gz
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
echo "[ X ] Could not unpack $input.tar.gz" 1>&2 echo "[ X ] Could not unpack $input.tar.gz" 1>&2