(showing what is the rule and what is the exception)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Tue Jun 21 11:48:29 CEST 2016 on sn-devel-144
}
ctdb->valgrinding = (options.valgrinding == 1);
- if ((options.valgrinding == 1) || (options.nosetsched == 1)) {
+ ctdb->do_setsched = (options.nosetsched != 1);
+ if (ctdb->valgrinding) {
ctdb->do_setsched = false;
- } else {
- ctdb->do_setsched = true;
}
ctdb->public_addresses_file = options.public_address_list;