From 921e9a76f1ca47d30d765f2f2bf61954e8ac9c9c Mon Sep 17 00:00:00 2001 From: Slack Coder Date: Tue, 21 Jan 2025 16:11:42 -0500 Subject: Avoid requiring root access Make temporary folder generation lazy to postpone requiring root access until needed. --- SBO-Lib/lib/SBO/Lib.pm | 5 ----- 1 file changed, 5 deletions(-) (limited to 'SBO-Lib/lib/SBO/Lib.pm') diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index edb418a..fe96cde 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -94,11 +94,6 @@ our %EXPORT_TAGS = ( config => $SBO::Lib::Util::EXPORT_TAGS{config}, ); -unless ($< == 0) { - warn "This script requires root privileges.\n"; - exit _ERR_USAGE; -} - 'ok'; __END__ -- cgit v1.2.3