run: Remove hilarious redundancy in boolean assignments.

pull/1/head
Charles Aylward 2015-03-06 17:07:23 +00:00
parent a827479786
commit 3058a68865
1 changed files with 2 additions and 2 deletions

View File

@ -98,8 +98,8 @@ int perform_run(const Arguments& args) {
}
}
const bool wait_for_container = args.has_flag("wait") ? true : false;
const bool dump_stdout = args.has_flag("stdout") ? true : false;
const bool wait_for_container = args.has_flag("wait");
const bool dump_stdout = args.has_flag("stdout");
if (geteuid() != 0) {
std::cerr << "Containers can only be started by root." << std::endl;