Skip to content

Commit

Permalink
Add arguments to add and autostart.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshPiper committed Jan 3, 2020
1 parent 961df2f commit c18e371
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agent-add
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

source agent-start
source agent-start "${1:-default}"
cat - | tr -d '\r' | ssh-add - >/dev/null
2 changes: 1 addition & 1 deletion agent-autostart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh

source agent-start
source agent-start "${1:-default}"
echo "$SSH_PRIVATE_KEY" | agent-add

0 comments on commit c18e371

Please sign in to comment.