Commit 9506704b authored by Vitaly Lipatov's avatar Vitaly Lipatov

get_gear_rule_spec: mute some error

parent 8ef0477a
...@@ -201,7 +201,7 @@ set_specdir() ...@@ -201,7 +201,7 @@ set_specdir()
get_gear_rule_spec() get_gear_rule_spec()
{ {
local SPEC="$(grep "^spec:" $(get_root_git_dir)/.gear/rules | cut -d" " -f2)" local SPEC="$(grep "^spec:" $(get_root_git_dir)/.gear/rules 2>/dev/null | cut -d" " -f2)"
test -r "$(get_root_git_dir)/$SPEC" && echo $(get_root_git_dir)/$SPEC test -r "$(get_root_git_dir)/$SPEC" && echo $(get_root_git_dir)/$SPEC
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment