mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
nixos/printers: fix shellcheck issue again
Some arguments to `lpadmin` might look like shell expressions, triggering shellcheck warnings. This was fixed earlier already, in6bb5aa2d26, but the fix got lost later, in85e3dd1d48.
This commit is contained in:
@@ -318,7 +318,10 @@ in
|
||||
"x"
|
||||
];
|
||||
in
|
||||
"lpadmin ${toLpadminArgs argsDpx} ${toLpadminArgs argsWoDpx}";
|
||||
''
|
||||
# shellcheck disable=SC2016
|
||||
lpadmin ${toLpadminArgs argsDpx} ${toLpadminArgs argsWoDpx}
|
||||
'';
|
||||
|
||||
in
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user