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>
Thu, 4 Feb 2010 16:31:09 +0000 (16:31 +0000)
commit43504796252dc8c399f490927008fcbf7d97b27b
tree74698d59bde8c7a4d355f7531cbdce69d11a05fb
parent3113582ef88d280cfa3c479cc705c3972c777fb7
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