Fixed the Linux hook.