werror: Correct the error code checking
authorGarming Sam <garming@catalyst.net.nz>
Thu, 9 Mar 2017 01:40:11 +0000 (14:40 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 13 Mar 2017 04:10:10 +0000 (05:10 +0100)
commitf1147106efa44943d309b9c75f1b237f8c91254a
tree4a66ccd4217ad25522fadf1574799c87f4820811
parent372f5dd4a2e6648b63a2b4d08edbc0d59649abe2
werror: Correct the error code checking

Broken in commit ea3c3f10edac2b6e7e1900b4e75f4be4d70d369a

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/domain.py