mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 12:47:35 +00:00
Terminal: Write an empty string instead of (null) on Command key
This prevents a Terminal to create a configuration file with Command=(null) That would make it try to execute the command "(null)" on the next run.
This commit is contained in:
parent
0e403a43a4
commit
ad309d4eca
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ int main(int argc, char** argv)
|
|||
if (command_to_execute)
|
||||
run_command(ptm_fd, command_to_execute);
|
||||
else
|
||||
run_command(ptm_fd, config->read_entry("Startup", "Command"));
|
||||
run_command(ptm_fd, config->read_entry("Startup", "Command", ""));
|
||||
|
||||
auto window = GUI::Window::construct();
|
||||
window->set_title("Terminal");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue