exit code 1
This commit is contained in:
		
							parent
							
								
									e9b3f82d34
								
							
						
					
					
						commit
						57fe70f582
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
                })
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue