Fixed oversight relating to root
This commit is contained in:
parent
489e711534
commit
ab235f583f
@ -42,11 +42,6 @@ bool ask(std::string prompt) {
|
|||||||
|
|
||||||
int main(int argc, char* argv[]) {
|
int main(int argc, char* argv[]) {
|
||||||
|
|
||||||
if( !getuid() ) {
|
|
||||||
std::cout << "Must be root!" << std::endl;
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( argc == 1 ) {
|
if ( argc == 1 ) {
|
||||||
std::cout << " Cowtool 0.0 :" << std::endl;
|
std::cout << " Cowtool 0.0 :" << std::endl;
|
||||||
std::cout << " - cowtool lick < name > < editor > : Create/edit a package script" << std::endl;
|
std::cout << " - cowtool lick < name > < editor > : Create/edit a package script" << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user