X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;ds=sidebyside;f=main.cpp;h=4463ff26d4d0e49f2c249c17594ca7340a53337f;hb=e26fd7b3195576b25ffe51253a391b53f412a650;hp=2affab554e32372a66adb1f312adaddd78ed99c6;hpb=498b277372ebab0008b97399d387285b36d88826;p=popboot.git diff --git a/main.cpp b/main.cpp index 2affab5..4463ff2 100644 --- a/main.cpp +++ b/main.cpp @@ -39,6 +39,7 @@ int main(int argc, char** argv){ getline(file,effects); getline(file,precond); cout << exec << ":" << effects << ":" << precond << endl; + if (effects == "") continue; actions.push_back(Action(exec, stringToVector(precond), stringToVector(effects))); } Planner p(actions, stringToVector(argv[2]), stringToVector(argv[3]));