diff options
-rw-r--r-- | hktool.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -111,14 +111,10 @@ int main(int argc, char **argv) if (getparams(&fp, argv[optind]) != 0) return EXIT_FAILURE; - if (doflash) { - printf("flashing\n"); + if (doflash) if (flash(&fp, flashfile) != 0) return EXIT_FAILURE; - } - if (doreboot) { - printf("rebooting\n"); + if (doreboot) if (reboot(&fp) != 0) return EXIT_FAILURE; - } } |