Skip to content

Commit

Permalink
Redirect nohup output to YaST log dir
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Sep 7, 2021
1 parent 4fb744d commit a3550fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main_window.cpp
Expand Up @@ -305,7 +305,9 @@ void MainWindow::slotLaunchModule( const QModelIndex &index)
cmd += argument;
cmd +="'";
}
cmd += " &";

// Redirect nohup output to ensure that $HOME/nohup.out file is not created (bsc#1189651)
cmd += " > /var/log/YaST2/nohup.out 2>&1 &";

//FIXME: use something more intelligent (unique) to remember used modules, names suck
d->recentlyUsed.enqueue( name );
Expand Down

0 comments on commit a3550fb

Please sign in to comment.