mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 15:47:02 +08:00
bug fix (Mon Jan 30 19:46:27 CST 2023)
This commit is contained in:
parent
a0cfc6e4d4
commit
92914027fb
|
@ -67,7 +67,7 @@ all()
|
|||
touch $agent_file
|
||||
chmod 600 $agent_file
|
||||
fi
|
||||
if ! ps -p "$SSH_AGENT_PID" > /dev/null; then
|
||||
if ! ps -p "$SSH_AGENT_PID" 1>/dev/null 2>&1; then
|
||||
kill_agent
|
||||
fmt_note "launching a new agent"
|
||||
create_agent | tee $agent_file
|
||||
|
|
|
@ -35,6 +35,7 @@ test $(DFS_QUIET=1 tools/common.sh ask_for_Yn "test") = "1"
|
|||
alias p114
|
||||
which riot
|
||||
sagent
|
||||
test -f "/tmp/piv-agent-$(whoami)"
|
||||
gbes || which gbes
|
||||
|
||||
# check update
|
||||
|
|
Loading…
Reference in New Issue
Block a user