diff --git a/pash b/pash index f0296a1..b4c11eb 100755 --- a/pash +++ b/pash @@ -68,10 +68,10 @@ pw_copy() { # # If the 'sleep' fails, kill the script. This is the # simplest method of aborting from a subshell. - ( + { sleep "$PASH_TIMEOUT" || kill 0 - printf '' | $PASH_CLIP - ) & + $PASH_CLIP