summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2007-07-07 18:39:41 (UTC)
committer Michael Krelin <hacker@klever.net>2007-07-16 11:43:49 (UTC)
commite2d6af387dc3f91e920a867e948d1255710f3604 (patch) (side-by-side diff)
tree78c43da8e5d0586485f9872f834f08f372eccdd5
parent2b97142421c04098b72021b0526873a54ba951d7 (diff)
downloadopie-e2d6af387dc3f91e920a867e948d1255710f3604.zip
opie-e2d6af387dc3f91e920a867e948d1255710f3604.tar.gz
opie-e2d6af387dc3f91e920a867e948d1255710f3604.tar.bz2
launcher: restart opie from OPIE_BINDIR
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/serverapp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp
index 0e92040..b933340 100644
--- a/core/launcher/serverapp.cpp
+++ b/core/launcher/serverapp.cpp
@@ -763,6 +763,7 @@ void ServerApplication::restart()
for ( int fd = 3; fd < 100; fd++ )
close( fd );
execl( ( qpeDir() + "/bin/qpe" ).local8Bit(), "qpe", NULL );
+ execl( OPIE_BINDIR "/qpe", "qpe", NULL );
exit( 1 );
#endif
}