mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
feat: exit cli after running command
This commit is contained in:
@@ -19,6 +19,7 @@ try {
|
|||||||
nativeShell: { executablePath: shellToUse },
|
nativeShell: { executablePath: shellToUse },
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
process.exit(0);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
cliLogger.error('ERROR:', error);
|
cliLogger.error('ERROR:', error);
|
||||||
internalLogger.error({
|
internalLogger.error({
|
||||||
|
|||||||
Reference in New Issue
Block a user