]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl fix shell case..esac default condition
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 21 Jun 2008 20:12:19 +0000 (20:12 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sat, 21 Jun 2008 20:12:19 +0000 (20:12 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7211 91ce42f0-d328-0410-95d8-f526ca767f89

regress/scripts/cleanup-tape.in
regress/scripts/prepare-two-tapes.in

index 6eadd69cb5debcc87d113e69dff2be4760dbc752..86c3a198de5480cd5976a878d6fbe3a10a0dc25b 100755 (executable)
@@ -19,7 +19,7 @@ if test x@autochanger@ != x/dev/null; then
       ;;
    $SLOT1)
       ;;
-   default)
+   *)
       bin/@changer_script@ @autochanger@ unload $slot @tape_drive@ $DRIVE1
       bin/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ $DRIVE1
       ;;
index 8e1cfa0cc1d651e6ae0efff626a00e45e5777038..1093895ab7e08ba5b77187f71de793765c160d64 100755 (executable)
@@ -30,7 +30,7 @@ if test x@autochanger@ != x/dev/null; then
    $SLOT2)
       slot=$SLOT2
       ;;
-   default)
+   *)
       bin/@changer_script@ @autochanger@ unload $slot @tape_drive@ $DRIVE1
       bin/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ $DRIVE1
       slot=$SLOT1
@@ -48,7 +48,7 @@ if test x@autochanger@ != x/dev/null; then
    $SLOT2)
       bin/@changer_script@ @autochanger@ load $SLOT1 @tape_drive@ $DRIVE1
       ;;
-   default)
+   *)
       echo "Something went wrong. Expected $SLOT1 or $SLOT2, got $slot"
       exit 1
    esac