author | Michael Krelin <hacker@klever.net> | 2007-07-07 18:39:41 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-16 11:43:49 (UTC) |
commit | e2d6af387dc3f91e920a867e948d1255710f3604 (patch) (unidiff) | |
tree | 78c43da8e5d0586485f9872f834f08f372eccdd5 /core | |
parent | 2b97142421c04098b72021b0526873a54ba951d7 (diff) | |
download | opie-e2d6af387dc3f91e920a867e948d1255710f3604.zip opie-e2d6af387dc3f91e920a867e948d1255710f3604.tar.gz opie-e2d6af387dc3f91e920a867e948d1255710f3604.tar.bz2 |
launcher: restart opie from OPIE_BINDIR
-rw-r--r-- | core/launcher/serverapp.cpp | 1 |
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 | |||
@@ -760,12 +760,13 @@ void ServerApplication::restart() | |||
760 | quit(); | 760 | quit(); |
761 | #else | 761 | #else |
762 | prepareForTermination( true ); | 762 | prepareForTermination( true ); |
763 | for ( int fd = 3; fd < 100; fd++ ) | 763 | for ( int fd = 3; fd < 100; fd++ ) |
764 | close( fd ); | 764 | close( fd ); |
765 | execl( ( qpeDir() + "/bin/qpe" ).local8Bit(), "qpe", NULL ); | 765 | execl( ( qpeDir() + "/bin/qpe" ).local8Bit(), "qpe", NULL ); |
766 | execl( OPIE_BINDIR "/qpe", "qpe", NULL ); | ||
766 | exit( 1 ); | 767 | exit( 1 ); |
767 | #endif | 768 | #endif |
768 | } | 769 | } |
769 | } | 770 | } |
770 | 771 | ||
771 | void ServerApplication::rereadVolumes() | 772 | void ServerApplication::rereadVolumes() |