]> ruin.nu Git - popboot.git/blobdiff - main.cpp
Spelling fix in inittab
[popboot.git] / main.cpp
index 740c8890771f2cf81bf61458b9ee2e970ce60d9d..4eb71ea59c4bd5f54fecf514cb4443b03232de45 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -39,8 +39,11 @@ int main(int argc, char** argv){
                getline(file,effects);
                getline(file,precond);
                cout << exec << ":" << effects << ":" << precond << endl;
-               actions.push_back(Action(exec, stringToVector(precond), stringToVector(effects)));
+               if (effects == "") continue;
+               //actions.push_back(Action(exec, stringToVector(precond), stringToVector(effects)));
        }
        Planner p(actions, stringToVector(argv[2]), stringToVector(argv[3]));
+
+       p.execute();
        return 0;
 }