Skip to content
  • Ondrej Kozina's avatar
    dracut_90reencrypt: fix warns reported by static analysis · 1b7799cb
    Ondrej Kozina authored and Milan Broz's avatar Milan Broz committed
    - moddir is assigned in parent script run by dracut (warning was
      silenced)
    
    - fix defect wrt to assignement and making variable local on
      same line. The variable cwd was first assigned by subshell
      and later any error originating in subshell was masked by
      making the variable local (which returns always 'true')
    1b7799cb