diff options
author | Slack Coder <slackcoder@server.ky> | 2025-01-21 16:11:42 -0500 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2025-01-28 11:31:35 -0500 |
commit | 921e9a76f1ca47d30d765f2f2bf61954e8ac9c9c (patch) | |
tree | b2b0fa36ce53922c20538e8e5b4aeff8811eb2e0 /SBO-Lib/lib/SBO/Lib.pm | |
parent | da89dd975499f6b228d75fa5f25871911fae658a (diff) | |
download | sbotools2-921e9a76f1ca47d30d765f2f2bf61954e8ac9c9c.tar.xz |
Avoid requiring root access
Make temporary folder generation lazy to postpone requiring root access
until needed.
Diffstat (limited to 'SBO-Lib/lib/SBO/Lib.pm')
-rw-r--r-- | SBO-Lib/lib/SBO/Lib.pm | 5 |
1 files changed, 0 insertions, 5 deletions
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__ |