hivexsh: cd command: fix error handling
authorRichard Jones <rjones@redhat.com>
Thu, 4 Feb 2010 16:31:09 +0000 (16:31 +0000)
committerRichard Jones <rjones@redhat.com>
Fri, 19 Feb 2010 15:01:34 +0000 (15:01 +0000)
commit217c9706fbb310d309ddb4640f0f72bb7010c845
tree2ad59cc3b393f6d4c72286f567ad627546141150
parentd5e1a21afc6a5245b31e0017317c76aa1864e874
hivexsh: cd command: fix error handling

The error behaviour of hivex_node_get_child is subtle, so the 'cd'
command wouldn't always report errors correctly.  This fixes it.
hivex/hivexsh.c