Replace 'return' with 'exit'
This commit is contained in:
		
							parent
							
								
									dd96391dc6
								
							
						
					
					
						commit
						f0bf0e1c4e
					
				| @ -6,7 +6,7 @@ read answer | ||||
| if [ "$answer" == "y" ]; then | ||||
| 	echo "~> OK. Be patient now, that could take some time..." | ||||
| 	dd if=/dev/zero of=$blockdevice status=progress | ||||
| 	return $? | ||||
| 	exit $? | ||||
| else | ||||
| 	exit 1 | ||||
| fi | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user