From 8ed44d9ccdb3aa7bfc9c91c7bbefd2da959a9091 Mon Sep 17 00:00:00 2001 From: Liangbin Lian Date: Mon, 21 Apr 2025 11:24:32 +0800 Subject: [PATCH] package/ntfs3-mount: mount helper prevent possible recursive calls --- package/diy/ntfs3-mount/Makefile | 2 +- package/diy/ntfs3-mount/files/mount.ntfs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/diy/ntfs3-mount/Makefile b/package/diy/ntfs3-mount/Makefile index 7bf6d600c8..3c2cabbcfb 100644 --- a/package/diy/ntfs3-mount/Makefile +++ b/package/diy/ntfs3-mount/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ntfs3-mount -PKG_RELEASE:=6 +PKG_RELEASE:=7 include $(INCLUDE_DIR)/package.mk diff --git a/package/diy/ntfs3-mount/files/mount.ntfs b/package/diy/ntfs3-mount/files/mount.ntfs index d557ba86b0..44046f7f37 100755 --- a/package/diy/ntfs3-mount/files/mount.ntfs +++ b/package/diy/ntfs3-mount/files/mount.ntfs @@ -1,2 +1,2 @@ #!/bin/sh -mount -t ntfs3 -o iocharset=utf8,force "$@" || mount -t ntfs3 -o iocharset=utf8,ro "$@" +mount -i -t ntfs3 -o iocharset=utf8,force "$@" || mount -i -t ntfs3 -o iocharset=utf8,ro "$@"