diff --git a/apps/main.c b/apps/main.c index a1019f8a5e..82f1c8fa99 100644 --- a/apps/main.c +++ b/apps/main.c @@ -555,7 +555,7 @@ static void init(void) #ifdef AUTOROCK { int fd; - static const char filename[] = PLUGIN_DIR "/autostart.rock"; + static const char filename[] = PLUGIN_APPS_DIR "/autostart.rock"; fd = open(filename, O_RDONLY); if(fd >= 0) /* no complaint if it doesn't exist */