diff options
Diffstat (limited to 'packages/freenas/pkg/freenas_disks.inc')
-rw-r--r-- | packages/freenas/pkg/freenas_disks.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/freenas/pkg/freenas_disks.inc b/packages/freenas/pkg/freenas_disks.inc index 3f0dd694..0a19524e 100644 --- a/packages/freenas/pkg/freenas_disks.inc +++ b/packages/freenas/pkg/freenas_disks.inc @@ -130,7 +130,7 @@ function disks_mount($mount) { case "ntfs": if (mwexec("/sbin/mount_ntfs -u ftp -g ftp -m 777 $devname /mnt/$mountname") == 0) { $result = 0; - else { + } else { /* Not OK, remove the directory, prevent writing on RAM disk */ @rmdir ("/mnt/$mountname"); $result = 1; |