From: Bharadwaj Raju Date: Mon, 17 Oct 2022 06:12:12 +0000 (+0530) Subject: Fix sudo message X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/3c48004086784bb0e16deee104a85b5845f348f9 Fix sudo message We don't have KIO PolKit support yet --- diff --git a/src/main.cpp b/src/main.cpp index a9b85dbcc..611e3631c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -54,15 +54,11 @@ int main(int argc, char **argv) // Prohibit using sudo or kdesu (but allow using the root user directly) if (getuid() == 0) { if (!qEnvironmentVariableIsEmpty("SUDO_USER")) { - std::cout << "Running Dolphin with sudo can cause bugs and expose you to security vulnerabilities. " - "Instead use Dolphin normally and you will be prompted for elevated privileges when " - "performing file operations that require them." + std::cout << "Running Dolphin with sudo can cause bugs and expose you to security vulnerabilities." << std::endl; return EXIT_FAILURE; } else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) { - std::cout << "Running Dolphin with kdesu can cause bugs and expose you to security vulnerabilities. " - "Instead use Dolphin normally and you will be prompted for elevated privileges when " - "performing file operations that require them." + std::cout << "Running Dolphin with kdesu can cause bugs and expose you to security vulnerabilities." << std::endl; return EXIT_FAILURE; }