diff options
author | Wolfgang Müller | 2021-03-10 17:05:04 +0100 |
---|---|---|
committer | Wolfgang Müller | 2021-03-10 17:05:04 +0100 |
commit | 1d767c0bdd6476a4ba9a998b8953ec8b9ad9f21c (patch) | |
tree | 08a7d3bc1acb6dba67bfba9435c59926b9bbd535 | |
parent | 366b5200155cb5a555af75864b386cb0e995901d (diff) | |
download | bosun-1d767c0bdd6476a4ba9a998b8953ec8b9ad9f21c.tar.gz |
Have find look in the current directory explicitly
This will squash shellcheck's SC2184 [1].
[1] https://github.com/koalaman/shellcheck/wiki/SC2185
-rwxr-xr-x | bosun | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -66,7 +66,7 @@ list_active() { # XXX: GNU extensions: -print0 for find, -r -0 for xargs # XXX: GNU only: realpath - find -type l -print0 2>/dev/null \ + find . -type l -print0 2>/dev/null \ | xargs -r0 realpath -e --relative-base "$real" 2>/dev/null \ | sed '/^\//d' | cut -d/ -f1 | sort -u } |