redhat-cop / infra.leapp

Collection of Ansible roles for automating RHEL in-place upgrades using Leapp.
MIT License
46 stars 37 forks source link

Fix check-inodes.sh script. #209

Closed jeffmcutter closed 2 months ago

jeffmcutter commented 2 months ago

Output from running analysis role:

line 36: badinitio: unbound variable

Output testing script manually:

[root@satrhel6-1 ~]# /tmp/check-inodes.sh 
/tmp/check-inodes.sh: line 36: badinitio: unbound variable
[root@satrhel6-1 ~]# bash /tmp/check-inodes.sh 
/tmp/check-inodes.sh: line 36: exit: : numeric argument required
jeffmcutter commented 2 months ago

@djdanielsson Can you look at this one? https://github.com/redhat-cop/infra.leapp/pull/202 broke check-inodes.sh (see description above). Thanks!

djdanielsson commented 2 months ago

yep I figured that out and did just that

jeffmcutter commented 2 months ago

Pulled the latest main and ran analysis successfully on a RHEL 6 box. :-)