We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea4cf3b commit 64fef36Copy full SHA for 64fef36
cni-plugin/deployment/scripts/install-cni.sh
@@ -239,7 +239,7 @@ sync() {
239
240
local config_file_count
241
local new_sha
242
- if [ "$ev" = 'CREATE' -o "$ev" = 'MOVED_TO' -o "$ev" = 'MODIFY' ]; then
+ if [ "$ev" = 'CREATE' ] || [ "$ev" = 'MOVED_TO' ] || [ "$ev" = 'MODIFY' ]; then
243
# When the event type is 'CREATE', 'MOVED_TO' or 'MODIFY', we check the
244
# previously observed SHA (updated with each file watch) and compare it
245
# against the new file's SHA. If they differ, it means something has
0 commit comments