SC2154: var is referenced but not assigned.
The 'rootmnt' variable is set in /usr/share/initramfs-tools/init and if
it's not available, that would be bad.
According to SC2154 you can fix that issue by using '${var:?}' so it
would fail if unset or empty.
So apply that and reference that SC item in the comments.
Also remove it from the exclude list in the CI config file.
|
||
|---|---|---|
| .. | ||
| initramfs-tools | ||
| network/interfaces.d | ||
| systemd/system | ||
| fstab | ||