| diff -ru tdnf-2.1.1.orig/tools/cli/main.c tdnf-2.1.1/tools/cli/main.c |
| |
| |
| @@ -66,11 +66,13 @@ |
| //granular permissions for non root users are pending. |
| //blocking all operations for non root and show the |
| //right error to avoid confusion. |
| +#ifndef __midipix__ |
| if(geteuid() != 0) |
| { |
| dwError = ERROR_TDNF_PERM; |
| BAIL_ON_CLI_ERROR(dwError); |
| } |
| +#endif |
| |
| _context.pFnCheck = TDNFCliInvokeCheck; |
| _context.pFnCheckLocal = TDNFCliInvokeCheckLocal; |