summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorhuker667 <huker@tuta.io>2026-07-15 14:33:08 +0300
committerhuker667 <huker@tuta.io>2026-07-15 14:33:08 +0300
commit22359129afeef78e0fcd56e62586819c06950846 (patch)
treeac83fef674adb3e5527b9e5ee53246d43fb8be1b /main.go
parentd64b4f39839e112d096b9809fdb35e873a1b40fd (diff)
downloadqulay-22359129afeef78e0fcd56e62586819c06950846.tar.gz
qulay-22359129afeef78e0fcd56e62586819c06950846.tar.bz2
qulay-22359129afeef78e0fcd56e62586819c06950846.zip
init commit da
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/main.go b/main.go
index 8ec8850..74aabb4 100644
--- a/main.go
+++ b/main.go
@@ -35,7 +35,6 @@ Options:
:a -> ask before doing
:nl -> disable recording in databases and logs
:nd -> do not download deps
- :nrc -> disable uid 0 (root) checks
:r -> reinstall already installed deps
Vars:
DESTDIR -> path where the package will be installed/removed`
@@ -79,11 +78,6 @@ func main() {
os.Exit(1)
}
- if os.Getuid() != 0 && slices.Contains(_root_cmds, cmds[0]) && !slices.Contains(opts, ":nrc") {
- fmt.Println("!! this command is root-only. run this with root privileges")
- os.Exit(1)
- }
-
// fmt.Println(cmds, oths, opts)
if cmds[0] == "h" {
printHelp()