aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-05-04 19:46:24 -0300
committerEuAndreh <eu@euandre.org>2022-05-04 19:46:24 -0300
commita3cd8085a0a1d0a0fb7e05ad45fd61464edec4c5 (patch)
tree4dee4b88bcf6fb9d18262f3e4c6583403ea288d2
parent~/.local/bin/msg: Add working version! (diff)
downloaddotfiles-a3cd8085a0a1d0a0fb7e05ad45fd61464edec4c5.tar.gz
dotfiles-a3cd8085a0a1d0a0fb7e05ad45fd61464edec4c5.tar.xz
~/.local/bin/xmpp: Do not default TO_JID to eu@euandreh.xyz
-rwxr-xr-x.local/bin/xmpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/.local/bin/xmpp b/.local/bin/xmpp
index ed92be8e..472e9cae 100755
--- a/.local/bin/xmpp
+++ b/.local/bin/xmpp
@@ -70,7 +70,9 @@ def main():
sys.exit(2)
if args == []:
- args = ["eu@euandreh.xyz"]
+ print("Missing TO_JID", file=sys.stderr)
+ print(USAGE, file=sys.stderr)
+ sys.exit(2)
passcmd = "pass show VPS/kuvira/XMPP/" + from_ + " | head -n1 | tr -d '\\n'"
password = os.popen(passcmd).read()