Do not ask to save password for unsupported os
This commit is contained in:
parent
9a9425b1e4
commit
f69c09a37d
@ -219,12 +219,15 @@ function _kstoresecret-config {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
read -p "Save this password to OS's keystore? (y/n): " _CONFIRM
|
case $OSTYPE in
|
||||||
if [ "$_CONFIRM" != "y" ]; then
|
cygwin|darwin*)
|
||||||
return 0
|
read -p "Save this password to OS's keystore? (y/n): " _CONFIRM
|
||||||
fi
|
if [ "$_CONFIRM" != "y" ]; then
|
||||||
|
return 0
|
||||||
_kstoresecret-auto set
|
fi
|
||||||
|
_kstoresecret-auto set
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user