From 73d3a5d86ba0835f529f88cc1a7a21580baaecd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Wed, 28 Jan 2026 06:14:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20s3fs=E6=8C=82=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/apps/s3fs/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/apps/s3fs/app.go b/internal/apps/s3fs/app.go index 12e0dd98..7fc17d91 100644 --- a/internal/apps/s3fs/app.go +++ b/internal/apps/s3fs/app.go @@ -94,7 +94,7 @@ func (s *App) Create(w http.ResponseWriter, r *http.Request) { service.Error(w, http.StatusInternalServerError, s.t.Get("failed to create passwd file: %v", err)) return } - if _, err = shell.Execf(`echo 's3fs#%s %s fuse _netdev,allow_other,nonempty,url=%s,passwd_file=/etc/passwd-s3fs-%s 0 0' >> /etc/fstab`, req.Bucket, req.Path, req.URL, cast.ToString(id)); err != nil { + if _, err = shell.Execf(`echo 's3fs#%s %s fuse _netdev,allow_other,url=%s,passwd_file=/etc/passwd-s3fs-%s 0 0' >> /etc/fstab`, req.Bucket, req.Path, req.URL, cast.ToString(id)); err != nil { service.Error(w, http.StatusInternalServerError, "%v", err) return }