mirror of
https://github.com/DictXiong/dotfiles.git
synced 2026-11-06 03:58:16 +08:00
sagent.sh: refuse to work on windows
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user