]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Detail.c
Fix return code for --detail-platform
authorMaciej Naruszewicz <maciej.naruszewicz@intel.com>
Tue, 2 Oct 2012 06:37:48 +0000 (16:37 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 2 Oct 2012 06:37:48 +0000 (16:37 +1000)
commit9590cb42766ac0120d2c2e9e766de3c17d67a902
tree07186d83910cd24ddab0aa41e995aa007230d063
parente50cf22073d583984d7592efb3a97047be0abfd4
Fix return code for --detail-platform

Variable 'err' is initially set to 1, so changing its value with
'|=' won't set it to 0 even if the operation is successful.

Signed-off-by: Maciej Naruszewicz <maciej.naruszewicz@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Detail.c