Skip to content

Commit

Permalink
fixed file read test
Browse files Browse the repository at this point in the history
  • Loading branch information
cowanml committed Jan 10, 2018
1 parent a658de2 commit af3de2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectre-meltdown-checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ parse_opt_file()
show_header
echo "$0: error: $option_value is not a file" >&2
exit 1
elif [ ! -e "$option_value" ]; then
elif [ ! -r "$option_value" ]; then
show_header
echo "$0: error: couldn't read $option_value (are you root?)" >&2
exit 1
Expand Down

0 comments on commit af3de2a

Please sign in to comment.