udevil: fix mount call in mount.ntfs helper script

The documented format of the -t option is "-t type", not "-ttype".

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2024-01-08 14:30:00 +01:00
parent 549e7667fb
commit 3cbc735cfb

View File

@ -30,7 +30,7 @@ post_makeinstall_target() {
cp -PR src/udevil ${INSTALL}/usr/bin
mkdir -p ${INSTALL}/usr/sbin
echo -e '#!/bin/sh\nexec /usr/bin/mount -tntfs3 "$@"' > ${INSTALL}/usr/sbin/mount.ntfs
echo -e '#!/bin/sh\nexec /usr/bin/mount -t ntfs3 "$@"' > ${INSTALL}/usr/sbin/mount.ntfs
chmod 755 ${INSTALL}/usr/sbin/mount.ntfs
}