Skip to content
Snippets Groups Projects
Commit 7ece9bae authored by Johan Schön's avatar Johan Schön
Browse files

Ugly way to get away from an annoying warning.

Rev: lib/modules/Filesystem.pmod/module.pmod:1.3
parent 97b84906
Branches
Tags
No related merge requests found
...@@ -144,5 +144,5 @@ program get_filesystem(string what) ...@@ -144,5 +144,5 @@ program get_filesystem(string what)
function `()(void|string path) function `()(void|string path)
{ {
return get_filesystem("System")(".")->cd(path||".") || return get_filesystem("System")(".")->cd(path||".") ||
error("Can't create filesystem on given path\n"); error("Can't create filesystem on given path\n"),0;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment