summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/ps3-main.c
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2012-03-30 16:58:32 -0700
committerGeoff Levand <geoff@infradead.org>2012-03-30 18:08:57 -0700
commit52b9db95764fcdee9195113d7df225634a19c9f4 (patch)
treec1d649ca1316a816430728ce097acb1806f2fad9 /ui/ncurses/ps3-main.c
parent45e253470f2cd7c6dfc38e7f533c62c454039873 (diff)
downloadtalos-petitboot-52b9db95764fcdee9195113d7df225634a19c9f4.tar.gz
talos-petitboot-52b9db95764fcdee9195113d7df225634a19c9f4.zip
Cleanup --dry-run option code
Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'ui/ncurses/ps3-main.c')
-rw-r--r--ui/ncurses/ps3-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ncurses/ps3-main.c b/ui/ncurses/ps3-main.c
index 69913ed..26d2591 100644
--- a/ui/ncurses/ps3-main.c
+++ b/ui/ncurses/ps3-main.c
@@ -307,7 +307,7 @@ static int ps3_kexec_cb(struct cui *cui, struct cui_opt_data *cod)
} else
altered_args = 0;
- result = pb_run_kexec(cod->kd);
+ result = pb_run_kexec(cod->kd, ps3->cui->dry_run);
if (altered_args) {
talloc_free(cod->kd->args);
OpenPOWER on IntegriCloud