mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 06:37:01 +08:00
sagent.sh: refuse to work on windows
This commit is contained in:
parent
1784292115
commit
a0abaa6a2b
|
@ -79,6 +79,10 @@ all()
|
||||||
|
|
||||||
route()
|
route()
|
||||||
{
|
{
|
||||||
|
os_type="$(get_os_type)"
|
||||||
|
if [[ "$os_type" == "msys" || "$os_type" == "cygwin" ]]; then
|
||||||
|
fmt_fatal "unsupported platform: $os_type. you may use WinCryptSSHAgent."
|
||||||
|
fi
|
||||||
if [[ $# -eq 0 ]]; then
|
if [[ $# -eq 0 ]]; then
|
||||||
all
|
all
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user