From 527260985fe45f4e88a30d12f1f01cdfe3261539 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Thu, 10 Nov 2022 18:47:47 +0000
Subject: [PATCH] Update floatup.py from upstream

---
 floatup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/floatup.py b/floatup.py
index 30396a1..7e5c432 100755
--- a/floatup.py
+++ b/floatup.py
@@ -198,7 +198,7 @@ def main():
             do_request(args.url + '/api/stop-group', args.ssh, req)
         except:
             pass
-        if args.state_file:
+        if args.state_file and os.path.exists(args.state_file):
             os.remove(args.state_file)
 
 
-- 
GitLab