criu: return an error if arguments contains more than one command
For example:
$ criu show stats-dump
Error (crtools.c:468): Unable to handle more than one command
$ ./criu show -f stats-dump
dump: {
freezing_time: 626
frozen_time: 24762
memdump_time: 2696
memwrite_time: 1007
pages_scanned: 1108
pages_skipped_parent: 0
pages_written: 28
irmap_resolve: 0
}
Reported-by:
Thouraya TH <thouraya87@gmail.com>
Signed-off-by:
Andrey Vagin <avagin@openvz.org>
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
Showing
Please
register
or
sign in
to comment