diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 1d59381..b2154c7 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: fluxbox.cc,v 1.154 2003/06/11 04:21:17 rathnor Exp $ | 25 | // $Id: fluxbox.cc,v 1.155 2003/06/11 10:50:59 rathnor Exp $ |
26 | 26 | ||
27 | #include "fluxbox.hh" | 27 | #include "fluxbox.hh" |
28 | 28 | ||
@@ -1736,7 +1736,7 @@ void Fluxbox::restart(const char *prog) { | |||
1736 | shutdown(); | 1736 | shutdown(); |
1737 | 1737 | ||
1738 | if (prog) { | 1738 | if (prog) { |
1739 | execlp(prog, prog, (void *) NULL); | 1739 | execlp(prog, prog, 0); |
1740 | perror(prog); | 1740 | perror(prog); |
1741 | } | 1741 | } |
1742 | 1742 | ||