diff --git a/content/io.js b/content/io.js index ab984b43..25bffcd1 100644 --- a/content/io.js +++ b/content/io.js @@ -764,7 +764,7 @@ lookup: { if (!silent) { - if (file.isDirectory()) + if (file.exists() && file.isDirectory()) liberator.echomsg("Cannot source a directory: \"" + filename + "\"", 0); else liberator.echomsg("could not source: \"" + filename + "\"", 1);