Skip to content

Commit

Permalink
Try to expand program if defined as a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanformigoni committed Jan 6, 2025
1 parent 2384889 commit 817782c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/boot/parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ inline int parse_cmds(ns_config::FlatimageConfig config, int argc, char** argv)
{
program = db["program"];
}, ns_db::Mode::READ);
return program;
return ns_env::expand(program).value_or(program);
}, std::string{"bash"});
}
,
Expand Down

0 comments on commit 817782c

Please sign in to comment.