]> _ Git - remote-logging.git/commit
Add file existence checks; forking -> exit; fork for inotifywatch
authormivirl <>
Thu, 25 Jan 2024 05:15:40 +0000 (23:15 -0600)
committermivirl <>
Thu, 25 Jan 2024 05:15:40 +0000 (23:15 -0600)
commita203bd5e29f70f99848a8cec016c2fff1f66b779
tree1d2ee64ebe722caa1081805e4f33bfa983d2ecb9
parent7d14772dce20bd70ba2bceb44fb202b1a1ed2489
Add file existence checks; forking -> exit; fork for inotifywatch

- Added checks for file existence before attempting to upload, which can in theory esult in race conditions, but in this case doesn't matter that much.
- Changed forking subroutines to exit instead of return, to prevent forked versions of the script from re-running the same commands
- Changed inotifywatch subroutine to fork
src/client.pl