exit code 1

This commit is contained in:
localhost 2024-02-17 23:25:25 +01:00
parent e9b3f82d34
commit 57fe70f582
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ async function downloadVideo(url, ws) {
})
child.on("close", async (code, signal) => {
if (code == 2) {
if (code == 2 || code == 1) {
reject({
fail: true
})