未验证 提交 5708cfd7 编写于 作者: K Kreyren 提交者: GitHub
上级 7a3a7b01
......@@ -158,10 +158,7 @@ is_confirmed() {
# fi
#
type_exists() {
if [ "$(type -P "$1")" ]; then
return 0
fi
return 1
[ "$(type -P "$1")" ]
}
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册