We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a15eb49 commit 1ec6fd8Copy full SHA for 1ec6fd8
bin/v-restore-user
@@ -247,9 +247,9 @@ if [ "$create_user" = 'yes' ]; then
247
echo -e "$(date "+%F %T") $user" |tee -a $tmpdir/restore.log
248
249
# Unpacking user container
250
- tar xf $BACKUP/$backup -C $tmpdir ./hestia
+ tar xf $BACKUP/$backup -C $tmpdir ./hestia 2>/dev/null
251
if [ "$?" -ne 0 ]; then
252
- tar xf $BACKUP/$backup -C $tmpdir ./vesta
+ tar xf $BACKUP/$backup -C $tmpdir ./vesta 2>/dev/null
253
254
rm -rf $tmpdir
255
echo "Can't unpack user contaner" |$SENDMAIL -s "$subj" $email $notify
0 commit comments