diff options
| author | Rémi Verschelde | 2018-01-04 01:00:11 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2018-01-04 01:20:20 +0100 |
| commit | d65ac7378c77648124e0e8acd09cea8fd0d104cd (patch) | |
| tree | 635e19e3e146f2deddeedff7528f1f5b16bc6cac /drivers/unix/os_unix.cpp | |
| parent | e68965672df8e06a1a6c977d3426b001a0767a9a (diff) | |
| download | godot-d65ac7378c77648124e0e8acd09cea8fd0d104cd.tar.gz godot-d65ac7378c77648124e0e8acd09cea8fd0d104cd.tar.zst godot-d65ac7378c77648124e0e8acd09cea8fd0d104cd.zip | |
Diffstat (limited to 'drivers/unix/os_unix.cpp')
| -rw-r--r-- | drivers/unix/os_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp index cc4d060c0..fa8094f31 100644 --- a/drivers/unix/os_unix.cpp +++ b/drivers/unix/os_unix.cpp @@ -298,7 +298,7 @@ Error OS_Unix::execute(const String &p_path, const List<String> &p_arguments, bo args.push_back(0); #ifdef __FreeBSD__ - if (p_path.find("/")) { + if (p_path.find("/") != -1) { // exec name contains path so use it execv(p_path.utf8().get_data(), &args[0]); } else { |
