Permalink
Browse files

moves case statement ending outside of if clause

  • Loading branch information...
1 parent aa1364e commit 201b9d99476c57a8fb22d06f937a45f0799c8d05 @dwwoelfel committed Oct 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tarsnap-generations.sh
View
@@ -136,8 +136,8 @@ for dir in $(cat $PATHS) ; do
case "$archive_list" in
*"$NOW-$BK_TYPE-$(hostname -s)-$(echo $dir)"* )
if [ $QUIET != "1" ] ; then
- echo "$NOW-$BK_TYPE-$(hostname -s)-$(echo $dir) backup OK.";;
- fi
+ echo "$NOW-$BK_TYPE-$(hostname -s)-$(echo $dir) backup OK."
+ fi;;
* ) echo "$NOW-$BK_TYPE-$(hostname -s)-$(echo $dir) backup NOT OK. Check --archive-list."; exit 3 ;;
esac
done

0 comments on commit 201b9d9

Please sign in to comment.