arithmetic syntax error

#47 · closed · 2 comments

View on GitHub ↗

sarandafl

If the filesystem name is very long, the output from `df -k` is wrapped, causing `awk` to grab the wrong column: `/usr/bin/ctbcap: line 370: arithmetic syntax error` Using `latest` tag via Docker Compose on Debian 13 (but should be the same for all platforms): ``` stripchat-foobar-1 | Filesystem 1K-blocks Used Available Use% Mounted on stripchat-foobar-1 | str-nas-foo-01.bar.internal.example.com:/volume1/ctbcap/log stripchat-foobar-1 | 17042344960 11283519360 5758706816 66% /log ```

Comments

KFERMercer

try `dev` branch to see if resolve the problem

sarandafl

`dev` branch works, thanks!