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 04f266e..2faa267 100644 --- a/src/FbCommands.cc +++ b/src/FbCommands.cc | |||
@@ -152,7 +152,7 @@ int ExecuteCmd::run() { | |||
152 | 152 | ||
153 | // get shell path from the environment | 153 | // get shell path from the environment |
154 | // this process exits immediately, so we don't have to worry about memleaks | 154 | // this process exits immediately, so we don't have to worry about memleaks |
155 | char *shell = getenv("SHELL"); | 155 | const char *shell = getenv("SHELL"); |
156 | if (!shell) | 156 | if (!shell) |
157 | shell = "/bin/sh"; | 157 | shell = "/bin/sh"; |
158 | 158 | ||