summaryrefslogtreecommitdiff
path: root/bin/common/sshpass
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-02-29 14:26:50 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-02-29 14:26:50 +0100
commitc16799693cb6d780f258833689a6d312506093bb (patch)
treef11e3ba72e632269160275f1c3c36d170fb81a62 /bin/common/sshpass
parentda998b5c857aef8903bf791b4e41966cf230562c (diff)
parent8ab76a9ebf8414c720f13bd0aaaa2e6452ff753b (diff)
Merge branch 'main' of debuc.com:dotfiles
Diffstat (limited to 'bin/common/sshpass')
-rwxr-xr-xbin/common/sshpass6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/common/sshpass b/bin/common/sshpass
new file mode 100755
index 0000000..71f8e93
--- /dev/null
+++ b/bin/common/sshpass
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [ "$PASSWORD" ]
+then
+ pass show "$PASSWORD" && exit
+ exit 1
+fi