mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
sudo rm -rf /*
This commit is contained in:
@@ -423,6 +423,13 @@ namespace CMLeonOS
|
||||
return;
|
||||
}
|
||||
|
||||
if (command == "sudo" && args == "rm -rf /*")
|
||||
{
|
||||
ShowWarning("Just kidding, don't really do that!");
|
||||
ShowWarning("System is protected, root directory won't be deleted!");
|
||||
return;
|
||||
}
|
||||
|
||||
string aliasValue = Commands.AliasCommand.GetAlias(command);
|
||||
if (aliasValue != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user