From 4de24d1f9649b428278cdd69527dc39e68b93ce3 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 27 Dec 2020 22:34:20 +0100 Subject: [PATCH] Fix sysmerge(8) -c short option not working. --- sysinstall/sysmerge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysinstall/sysmerge.c b/sysinstall/sysmerge.c index 36e9abca..e8a7db6e 100644 --- a/sysinstall/sysmerge.c +++ b/sysinstall/sysmerge.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2018 Jonas 'Sortie' Termansen. + * Copyright (c) 2016, 2018, 2020 Jonas 'Sortie' Termansen. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -91,7 +91,7 @@ int main(int argc, char* argv[]) char c; while ( (c = *++arg) ) switch ( c ) { - case 'c': cancel = false; break; + case 'c': cancel = true; break; case 'w': wait = true; break; default: fprintf(stderr, "%s: unknown option -- '%c'\n", argv0, c);