mirror of
https://github.com/EnumeratedDev/bpm.git
synced 2026-10-31 11:01:48 +00:00
Remove subcommand will now run without specifying any packages
This commit is contained in:
1 file changed
-4
@@ -507,10 +507,6 @@ func removePackages() {
|
|||||||
|
|
||||||
// Get packages
|
// Get packages
|
||||||
packages := currentFlagSet.Args()
|
packages := currentFlagSet.Args()
|
||||||
if len(packages) == 0 {
|
|
||||||
fmt.Println("No packages were given to remove")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check for required permissions
|
// Check for required permissions
|
||||||
if os.Getuid() != 0 {
|
if os.Getuid() != 0 {
|
||||||
|
|||||||
Reference in new issue
Block a user