Verified Commit 4b9e0c92 authored by Silvio Rhatto's avatar Silvio Rhatto
Browse files

Feat: s3fs: improve options support by making PASS optional and adding S3FS_OPTS (1)

parent bb6afb2e
Loading
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -102,16 +102,16 @@ fi

# Check if a passwd file is defined
if [ ! -z "$PASS" ]; then
  PASSWD_FILE="-o passwd_file=$PASS"
#else
#  abort "please configure the PASS variable"
fi

  # Check for a passwd file
  if [ ! -e "$PASS" ]; then
    abort "file not found: $PASS"
  fi

  PASSWD_FILE="-o passwd_file=$PASS"
#else
#  abort "please configure the PASS variable"
fi

# Set lockfile
LOCKFILE="$TMP/$BASENAME/$BASE_MOUNT.lock"
check_lockfile