extra $() in dracut.sh:2040?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



if ! $(fsfreeze -f $(dirname "$outfile") 2>/dev/null && fsfreeze -u
$(dirname "$outfile") 2>/dev/null); then


shellcheck says "Remove surrounding $() to avoid executing output".
I'm not a bash expert and I'm not sure it's right, but I thought you'd
want to know.



[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux