summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Dalos-cli.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Dalos-cli.cc b/src/Dalos-cli.cc
index dd0a4a8..ae4806c 100644
--- a/src/Dalos-cli.cc
+++ b/src/Dalos-cli.cc
@@ -72,6 +72,7 @@ void MainTask::Do() {
while (optind < argc) {
todo = true;
IO<Input> file(new Input(argv[optind++]));
+ file->open();
LuaExecFile luaExecFile(file);
luaExecFile.exec(luaMainTask);
luaExecFile.throwError();