Skip to content

Commit

Permalink
Fix for Issue #31 - Error RestoreonAccount
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascbeyeler committed Apr 17, 2017
1 parent 012add6 commit 792d6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zmbackup
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ build_restore_list()
echo $i >> $TEMPACCOUNT
done
else
grep $1 /backup/sessions.txt | grep -v "SESSION" | cut -d: -f2 > $TEMPACCOUNT
grep $1 $WORKDIR/sessions.txt | grep -v "SESSION" | cut -d: -f2 > $TEMPACCOUNT
fi
if [[ "$1" == "full-"* ]]; then
for i in $(egrep 'SESSION:' $WORKDIR/sessions.txt | egrep 'started' | awk '{print $2}' | sort | uniq); do
Expand Down

0 comments on commit 792d6b2

Please sign in to comment.