diff options
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r-- | src/FbCommands.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc index 4b40f82..8683711 100644 --- a/src/FbCommands.cc +++ b/src/FbCommands.cc | |||
@@ -253,10 +253,7 @@ RestartFluxboxCmd::RestartFluxboxCmd(const string &cmd):m_cmd(cmd){ | |||
253 | } | 253 | } |
254 | 254 | ||
255 | void RestartFluxboxCmd::execute() { | 255 | void RestartFluxboxCmd::execute() { |
256 | if (m_cmd.empty()) | 256 | Fluxbox::instance()->restart(m_cmd.c_str()); |
257 | Fluxbox::instance()->restart(); | ||
258 | else | ||
259 | Fluxbox::instance()->restart(m_cmd.c_str()); | ||
260 | } | 257 | } |
261 | 258 | ||
262 | REGISTER_COMMAND(reconfigure, FbCommands::ReconfigureFluxboxCmd, void); | 259 | REGISTER_COMMAND(reconfigure, FbCommands::ReconfigureFluxboxCmd, void); |