From 8653d1200fd27f8bf0edf9c8cf70c5cd7139900d Mon Sep 17 00:00:00 2001 From: Alex Myers Date: Mon, 5 Dec 2022 12:16:40 -0600 Subject: [PATCH] reckless: avoid redundant include statement in config --- tools/reckless | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/reckless b/tools/reckless index fc2e087e3..c378f5aa0 100755 --- a/tools/reckless +++ b/tools/reckless @@ -170,7 +170,7 @@ class Config(): conf_write.write(f'\n{l.strip()}') else: conf_write.write(l.strip()) - if addline == l: + if addline.strip() == l.strip(): # addline is idempotent line_exists = True if not line_exists: