summaryrefslogtreecommitdiffstats
path: root/bin/secrets
diff options
context:
space:
mode:
Diffstat (limited to 'bin/secrets')
-rwxr-xr-xbin/secrets8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/secrets b/bin/secrets
index f29a5b2..721bd3a 100755
--- a/bin/secrets
+++ b/bin/secrets
@@ -30,14 +30,14 @@ cmd_close() {
}
cmd_sync() {
- if [ "${2:-}" = "--algo" ]; then
+ if [ "${2:-}" = "--ts" ]; then
host="${3:-tozt}"
if [ "${host}" = "tozt" ]; then
- hostname=tozt.algo
+ hostname=tozt
elif [ "${host}" = "mail" ]; then
- hostname=mail.algo
+ hostname=mail
elif [ "${host}" = "partofme" ]; then
- hostname=partofme.algo
+ hostname=partofme
else
echo "unknown host ${host}" >&2
exit 1