From c10727bdb5c858c0c54d1d91633884ce07d5e1e9 Mon Sep 17 00:00:00 2001 From: appeasementPolitik <108810900+appeasementPolitik@users.noreply.github.com> Date: Tue, 20 Sep 2022 17:09:50 +0000 Subject: [PATCH] otp: exit if pass or pass-otp are not installed --- .local/bin/otp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/otp b/.local/bin/otp index a40c1984..7e471db5 100755 --- a/.local/bin/otp +++ b/.local/bin/otp @@ -9,7 +9,7 @@ # computer to have its time properly synced. This can be done with the command # below which requires the package `ntp`. -ifinstalled pass pass-otp +ifinstalled pass pass-otp || exit 1 dir="${PASSWORD_STORE_DIR}"