mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Remove bashism.
This commit is contained in:
parent
60108ad7f5
commit
81d4b36006
1 changed files with 1 additions and 4 deletions
|
@ -2285,11 +2285,8 @@ if [ "$DAEMONS_RUNNING_FUNC" != "null" ]; then
|
|||
[ ! -f /var/log/salt/$fname ] && echodebug "/var/log/salt/$fname does not exist. Can't cat its contents!" && continue
|
||||
|
||||
echodebug "DEAMON LOGS for $fname:"
|
||||
while IFS=$'\n' read -r line; do
|
||||
echodebug "$line"
|
||||
done < /var/log/salt/$fname
|
||||
echodebug "$(cat /var/log/salt/$fname)"
|
||||
echo
|
||||
|
||||
done
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue