diff options
Diffstat (limited to 'image/creator.cc')
-rw-r--r-- | image/creator.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/image/creator.cc b/image/creator.cc index 046027a..1a064f1 100644 --- a/image/creator.cc +++ b/image/creator.cc @@ -137,6 +137,10 @@ int main(int argc, char *argv[]) { output_path = vm["output"].as<std::string>(); } + if(fs::path(output_path).is_relative()) { + output_path = fs::absolute(output_path).string(); + } + if(!vm["backconfig"].empty()) { for(const auto &confpart : vm["backconfig"].as<std::vector<std::string>>()) { |