1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 15:54:13 +01:00

Merge default.

--HG--
branch : groups
This commit is contained in:
Kris Maglione
2011-02-08 02:25:55 -05:00

View File

@@ -399,7 +399,7 @@ var IO = Module("io", {
dir = this.File(dir, true);
let file = dir.child(bin);
if (file.exists())
if (file.exists() && file.isFile() && file.isExecutable())
return file;
// TODO: couldn't we just palm this off to the start command?