tests: fix ts_fstab_add function

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2007-06-15 11:29:04 +02:00
parent 71be1ee4a1
commit b002d0212d
1 changed files with 3 additions and 3 deletions

View File

@ -246,14 +246,14 @@ function ts_fstab_addline {
local SPEC="$1"
local MNT=${2:-"$TS_MOUNTPOINT"}
local FS=${3:-"auto"}
local OPT=${4:-"default"}
local OPT=${4:-"defaults"}
echo "$SPEC $MNT $FS defaults 0 0" >> /etc/fstab
echo "$SPEC $MNT $FS $OPT 0 0" >> /etc/fstab
}
function ts_fstab_add {
ts_fstab_open
ts_fstab_addline "$*"
ts_fstab_addline $*
ts_fstab_close
}