diff --git a/src/pages/onboard.tsx b/src/pages/onboard.tsx index 43331fb63..c18d7ad9a 100644 --- a/src/pages/onboard.tsx +++ b/src/pages/onboard.tsx @@ -124,7 +124,7 @@ export const getServerSideProps: GetServerSideProps = async (ctx) => { } Consola.info('Database is writeable'); - if (process.platform !== 'win32' || env.NEXT_PUBLIC_NODE_ENV === 'development') { + if (process.platform !== 'win32' && env.NEXT_PUBLIC_NODE_ENV === 'production') { try { const { stdout, stderr } = await exec("mount | grep '/data'");