From a6720a9edfdbcf8e0e006fae7f77934d67bb3254 Mon Sep 17 00:00:00 2001 From: Oskar Date: Thu, 25 Jul 2024 16:32:31 +0200 Subject: bugfix for R --- trashsys.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'trashsys.c') diff --git a/trashsys.c b/trashsys.c index 00a72cd..d7cbfa9 100644 --- a/trashsys.c +++ b/trashsys.c @@ -49,7 +49,6 @@ bool v_cvm_fprintf = false; int choice_mode = MODE_NORMAL; char *g_argv = NULL; -int g_loading = true; struct trashsys_log_info { int64_t ts_log_id; @@ -1161,10 +1160,6 @@ int main (int argc, char *argv[]) { } if(R_used == true) { - if(optind != argc) { - USAGE_OUT(stderr); - return EXIT_FAILURE; - } if(restore_file(optarg_converted, &ipi_m) == FUNCTION_FAILURE) { return EXIT_FAILURE; } -- cgit v1.2.3