aboutsummaryrefslogtreecommitdiffhomepage
path: root/misc/otp
diff options
context:
space:
mode:
Diffstat (limited to 'misc/otp')
-rwxr-xr-xmisc/otp2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/otp b/misc/otp
index ccdc1f3..4b31447 100755
--- a/misc/otp
+++ b/misc/otp
@@ -3,7 +3,7 @@
3echo -n "OTP: " 3echo -n "OTP: "
4read -r otp 4read -r otp
5 5
6if grep "^$otp$" /home/pham/.otp; then 6if grep "^$otp$" /home/pham/.otp &>/dev/null; then
7 TEMP=`mktemp` 7 TEMP=`mktemp`
8 sed "/^$otp$/ d" /home/pham/.otp >$TEMP 8 sed "/^$otp$/ d" /home/pham/.otp >$TEMP
9 cat $TEMP > /home/pham/.otp 9 cat $TEMP > /home/pham/.otp