File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ function check_file_stat() {
303303 return 1
304304 elif [[ ${NHC_STAT_MODE[$IDX]} -ne $MODE_IS ]]; then
305305 # File permissions should exactly equal $MODE_IS, but they don't. Flag it.
306- die 1 "$FUNCNAME: File \"$FNAME\" has permissions ${NHC_STAT_MINOR [$IDX]}; should be $MODE_IS"
306+ die 1 "$FUNCNAME: File \"$FNAME\" has permissions ${NHC_STAT_MODE [$IDX]}; should be $MODE_IS"
307307 return 1
308308 fi
309309 fi
@@ -313,7 +313,7 @@ function check_file_stat() {
313313 return 1
314314 elif [[ $((NHC_STAT_MODE[IDX] & MODE_MATCHES)) -ne $MODE_MATCHES ]]; then
315315 # File permissions should include those specified in $MODE_MATCHES, but they don't. Flag it.
316- die 1 "$FUNCNAME: File \"$FNAME\" has permissions ${NHC_STAT_MINOR [$IDX]}; should be at least $MODE_MATCHES"
316+ die 1 "$FUNCNAME: File \"$FNAME\" has permissions ${NHC_STAT_MODE [$IDX]}; should be at least $MODE_MATCHES"
317317 return 1
318318 fi
319319 fi
You can’t perform that action at this time.
0 commit comments