From 30ec060dcb4356bf7aeb4629dbb10f74a77fe5a3 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 4 Aug 2020 10:32:27 +0200 Subject: fr-command-unarchiver: Remove trailing spaces find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/[[:space:]]*$//' {} \; find . \( -name '*.h' -o -name '*.c' \) -exec sed -i 's/\t*$//' {} \; --- src/fr-command-unarchiver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr-command-unarchiver.c b/src/fr-command-unarchiver.c index 5e2acd4..0a40e6b 100644 --- a/src/fr-command-unarchiver.c +++ b/src/fr-command-unarchiver.c @@ -242,7 +242,7 @@ fr_command_unarchiver_handle_error (FrCommand *comm, char *line = scan->data; if ((strstr (line, "This archive requires a password to unpack.") != NULL) || - (strstr (line, "Failed! (Missing or wrong password)") != NULL)) { + (strstr (line, "Failed! (Missing or wrong password)") != NULL)) { error->type = FR_PROC_ERROR_ASK_PASSWORD; break; -- cgit v1.2.1