[projects/geninitrd] luks: log only unsupported option, not all of them

atler atler at pld-linux.org
Fri Mar 3 15:26:56 CET 2023


commit bb80b9b1e535a803858eb5b801f7057b0932d929
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Mar 3 15:25:12 2023 +0100

    luks: log only unsupported option, not all of them

 mod-luks.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mod-luks.sh b/mod-luks.sh
index 468489a..9323388 100644
--- a/mod-luks.sh
+++ b/mod-luks.sh
@@ -190,7 +190,7 @@ luks_crypttab() {
 						crypttab_opt="$crypttab_opt --allow-discards"
 						;;
 					*)
-						warn "$dst: option \'$opt\' is invalid for LUKS partitions, ignored"
+						warn "$dst: option \'$option\' is invalid for LUKS partitions, ignored"
 						;;
 				esac
 			done
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/geninitrd.git/commitdiff/3b3df72d7fd40482262e981bdb6cc21b11d37f47



More information about the pld-cvs-commit mailing list