From 572c405efb060e90d4c84acede9fbef3861fe66e Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 17 May 2021 16:08:44 +0200 Subject: [PATCH] Exit after no read perm error --- root/usr/local/bin/tamper-check | 1 + 1 file changed, 1 insertion(+) diff --git a/root/usr/local/bin/tamper-check b/root/usr/local/bin/tamper-check index 0534a63..916ac3a 100755 --- a/root/usr/local/bin/tamper-check +++ b/root/usr/local/bin/tamper-check @@ -81,6 +81,7 @@ def _get_checksum_dict(file): 'to run tamper-check you must have read access to checksum file: ' f"'{colorama.Fore.BLUE}{file}{colorama.Fore.RESET}' (forgot sudo?)" ) + exit(2)