Browse Source

Merge pull request #11427 from marcelofg55/fix_chmod_return

Fix base _chmod return value

[ci skip]
Rémi Verschelde 8 years ago
parent
commit
d344fb6089
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/os/file_access.h

+ 1 - 1
core/os/file_access.h

@@ -139,7 +139,7 @@ public:
 
 	virtual Error reopen(const String &p_path, int p_mode_flags); ///< does not change the AccessType
 
-	virtual Error _chmod(const String &p_path, int p_mod) {}
+	virtual Error _chmod(const String &p_path, int p_mod) { return FAILED; }
 
 	static FileAccess *create(AccessType p_access); /// Create a file access (for the current platform) this is the only portable way of accessing files.
 	static FileAccess *create_for_path(const String &p_path);