commit cffb6b39e987b80b3c4cacd8627d6c5bfc30a645 parent 48e018b2769e6da7854cfd9db34347d8e8439e18 Author: William Casarin <jb55@jb55.com> Date: Tue, 4 Jan 2022 11:01:11 -0800 lcli: smarter Diffstat:
M | bin/lcli | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/bin/lcli b/bin/lcli @@ -1,2 +1,6 @@ #!/usr/bin/env sh -ssh monad /home/jb55/bin/lcli "$@" +if [ "$HOST" != "monad" ]; then + ssh monad lightning-cli "$@" +fi + +lightning-cli "$@"