From 7a94df6b1f06e0065f7e4ed3bb95939db2121611 Mon Sep 17 00:00:00 2001 From: Kiritow <1362050620@qq.com> Date: Mon, 26 Jul 2021 23:53:33 +0000 Subject: [PATCH] Disable error check in stop script --- tool_generate.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tool_generate.py b/tool_generate.py index 8e10a95..552e569 100644 --- a/tool_generate.py +++ b/tool_generate.py @@ -89,8 +89,6 @@ tmux attach-session -t tunnel logger.info("Generating stop script...") with open("stop.sh", "w", encoding='utf-8') as f: f.write('''#!/bin/bash -set -e - wg-quick down {} tmux kill-session -t tunnel '''.format(config["interface"])) @@ -99,7 +97,6 @@ tmux kill-session -t tunnel logger.info("Generating restart script...") with open("restart.sh", "w", encoding='utf-8') as f: f.write('''#!/bin/bash -set -e ./stop.sh && ./start.sh ''')