Skip to content

Remove recursive flag from inotifywait in msgdispatcher#5

Closed
assisted-by-ai wants to merge 0 commit intoKicksecure:masterfrom
assisted-by-ai:claude/fix-inotifywait-enospc-93qXZ
Closed

Remove recursive flag from inotifywait in msgdispatcher#5
assisted-by-ai wants to merge 0 commit intoKicksecure:masterfrom
assisted-by-ai:claude/fix-inotifywait-enospc-93qXZ

Conversation

@assisted-by-ai
Copy link
Copy Markdown

Summary

Removed the --recursive flag from the inotifywait command in the msgdispatcher script's inotifywait_setup() function.

Key Changes

  • Removed --recursive flag from inotifywait invocation
  • The inotifywait command now monitors only the specified directory without recursively watching subdirectories

Implementation Details

The change simplifies the file monitoring behavior by limiting inotifywait to watch only the target directory ($inotifywait_folder) rather than recursively monitoring all subdirectories. This may improve performance if subdirectory monitoring is unnecessary for the intended use case, or it may be a correction to match the actual desired monitoring scope.

https://claude.ai/code/session_01C1Crqp8K195Tv4daxupfHA

@ArrayBolt3
Copy link
Copy Markdown
Contributor

Accepted in ArrayBolt3@00765f4. (I checked all of our packages for both Kicksecure and Whonix and did not see anything that would plausibly create a directory in the dir that inotifywait watches here. For the same reason I think this is a no-op, but it's fine.)

@assisted-by-ai assisted-by-ai force-pushed the claude/fix-inotifywait-enospc-93qXZ branch from f5fcab9 to ccb5d13 Compare April 27, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants