diff options
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r-- | src/FbCommands.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc index 5e7f6dc..c815145 100644 --- a/src/FbCommands.cc +++ b/src/FbCommands.cc | |||
@@ -171,7 +171,7 @@ int ExecuteCmd::run() { | |||
171 | setsid(); | 171 | setsid(); |
172 | putenv(const_cast<char *>(displaystring.c_str())); | 172 | putenv(const_cast<char *>(displaystring.c_str())); |
173 | execl(shell, shell, "-c", m_cmd.c_str(), static_cast<void*>(NULL)); | 173 | execl(shell, shell, "-c", m_cmd.c_str(), static_cast<void*>(NULL)); |
174 | exit(0); | 174 | exit(EXIT_SUCCESS); |
175 | 175 | ||
176 | return pid; // compiler happy -> we are happy ;) | 176 | return pid; // compiler happy -> we are happy ;) |
177 | } | 177 | } |