vfs_fruit: add a missing else
[metze/samba/wip.git] / source3 / modules / vfs_fruit.c
index 2f970bb2e1167a240bb0e32b80f44c3d08dfcc4f..6e909d7073d04779662da96ad79c6538003bf7fa 100644 (file)
@@ -4102,7 +4102,7 @@ static int fruit_unlink(vfs_handle_struct *handle,
                return fruit_unlink_meta(handle, smb_fname);
        } else if (is_afpresource_stream(smb_fname)) {
                return fruit_unlink_rsrc(handle, smb_fname, false);
-       } if (is_ntfs_stream_smb_fname(smb_fname)) {
+       } else if (is_ntfs_stream_smb_fname(smb_fname)) {
                return SMB_VFS_NEXT_UNLINK(handle, smb_fname);
        }