]> sourceware.org Git - lvm2.git/commit
shell: also collect last command's return code for subsequent 'lastlog' invocation
authorPeter Rajnoha <prajnoha@redhat.com>
Mon, 25 Jul 2016 10:20:22 +0000 (12:20 +0200)
committerPeter Rajnoha <prajnoha@redhat.com>
Tue, 9 Aug 2016 16:24:45 +0000 (18:24 +0200)
commitef69934746e7c31aef224129b19ac0cfb8101b5b
tree61682172c53de0fda0a530a41ed0b6312a678c17
parent06ce9b4e4238da58d6c2acda7878dbc51245a8fc
shell: also collect last command's return code for subsequent 'lastlog' invocation

Add new log_context=shell and with log_object_type=cmd and
log_object_name=<command_name> for command log report to collect
overall return code from last command (this is reported under
log_type=status).
lib/log/log.c
lib/log/lvm-logging.h
tools/lvm.c
This page took 0.04257 seconds and 5 git commands to generate.