Fixed tail usage under macOS

This commit is contained in:
2Shirt 2019-12-06 13:19:47 -07:00
parent a76d7775fd
commit 2a4b68c222
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -172,7 +172,7 @@ def prep_action(
'cat',
])
elif watch_cmd == 'tail':
action_cmd.extend(['tail', '--follow'])
action_cmd.extend(['tail', '-f'])
action_cmd.append(watch_file)
else:
LOG.error('No action specified')