2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

crtools: Remove duplicate show_single_file boolean

It duplicates the show_dump_file pointer.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
Pavel Emelyanov
2011-12-28 20:38:00 +04:00
committed by Cyrill Gorcunov
parent a76922ebc0
commit d4fd91046f
3 changed files with 2 additions and 4 deletions

View File

@@ -303,7 +303,6 @@ int main(int argc, char *argv[])
opts.final_state = CR_TASK_LEAVE_RUNNING;
break;
case 'f':
opts.show_single_file = true;
opts.show_dump_file = optarg;
break;
case 'D':
@@ -335,7 +334,7 @@ int main(int argc, char *argv[])
}
if (!has_pid) {
if (action != 's' || !opts.show_single_file)
if (action != 's' || !opts.show_dump_file)
goto opt_pid_missing;
}