aboutsummaryrefslogtreecommitdiffstats
path: root/packages/opie-taskbar/opie-taskbar/restart-from-bindir.patch
blob: 1a73588409e0746431eecb20f11f11c5a76b8231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/serverapp.cpp b/serverapp.cpp
index 0e92040..b933340 100644
--- a/serverapp.cpp
+++ b/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
     }