summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xxcpw2
1 files changed, 1 insertions, 1 deletions
diff --git a/xcpw b/xcpw
index d737c0e..cf7fc4a 100755
--- a/xcpw
+++ b/xcpw
@@ -3,4 +3,4 @@
# get password, clean it up and copy to clipboard
#
-getpw "$@" | cut -d\ -f1 | tr -d "\n" | xclip
+getpw "$@" | head -n 1 | cut -d\ -f1 | tr -d "\n" | xclip