Skip to content

Commit

Permalink
Fix check-inodes.sh script. (#209)
Browse files Browse the repository at this point in the history
* Fix check-inodes.sh script.

* Add changelog fragment.

* Create ignore-2.15.txt

* Create ignore-2.16.txt

* Create ignore-2.17.txt

* Update check-inodes.sh

* Delete tests/sanity/ignore-2.15.txt

* Delete tests/sanity/ignore-2.16.txt

* Delete tests/sanity/ignore-2.17.txt

---------

Co-authored-by: David Danielsson <[email protected]>
  • Loading branch information
jeffmcutter and djdanielsson authored Jul 11, 2024
1 parent 5e9aac2 commit 9d3f629
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/fix_check_inodes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- Fix check-inodes.sh script introduced error.
2 changes: 2 additions & 0 deletions roles/analysis/files/check-inodes.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash -eu

badinitio=0

# Total count of local files
total_inodes=$(df -P --local --inodes --total | tail -1 | awk '{print $3}')

Expand Down

0 comments on commit 9d3f629

Please sign in to comment.