diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-02 22:00:59 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-02 22:00:59 -0500 |
commit | f8b19d02ee425d4539ab458a84aff54c5b5e8c72 (patch) | |
tree | 12ade41bd3ab822d62b5d3591fa974db29c6db4e /hscript | |
parent | 8871308c48dd59046c0e1e318486be04ff20c278 (diff) | |
download | horizon-f8b19d02ee425d4539ab458a84aff54c5b5e8c72.tar.gz horizon-f8b19d02ee425d4539ab458a84aff54c5b5e8c72.tar.bz2 horizon-f8b19d02ee425d4539ab458a84aff54c5b5e8c72.tar.xz horizon-f8b19d02ee425d4539ab458a84aff54c5b5e8c72.zip |
util: run_command: Don't return false if status != 0
Diffstat (limited to 'hscript')
-rw-r--r-- | hscript/util.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hscript/util.cc b/hscript/util.cc index 21d2356..13688dd 100644 --- a/hscript/util.cc +++ b/hscript/util.cc @@ -104,7 +104,6 @@ int run_command(const std::string &cmd, const std::vector<std::string> &args) { if(WEXITSTATUS(status) != 0) { output_error(cmd, "exited abnormally with status " + std::to_string(WEXITSTATUS(status))); - return false; } return WEXITSTATUS(status); |