Revert "Don't source script output"
This reverts commit 730c53263f0ebc6bc4d325ee49d9a3f8e0880749.
This commit is contained in:
		
							parent
							
								
									730c53263f
								
							
						
					
					
						commit
						365bf54972
					
				| @ -26,7 +26,7 @@ read blockdevice | |||||||
| for check in checks/*.check | for check in checks/*.check | ||||||
| do | do | ||||||
| 	echo "=> Running check '$check'..." | 	echo "=> Running check '$check'..." | ||||||
| 	. $check | 	$($check) | ||||||
| 	return=$? | 	return=$? | ||||||
| 	if [ "$return" -ne 0 ]; then | 	if [ "$return" -ne 0 ]; then | ||||||
| 		echo "=> Check failed. Fix it, maybe." | 		echo "=> Check failed. Fix it, maybe." | ||||||
| @ -37,7 +37,7 @@ done | |||||||
| for step in steps/*.step | for step in steps/*.step | ||||||
| do | do | ||||||
| 	echo "=> Running step '$step'..." | 	echo "=> Running step '$step'..." | ||||||
| 	. $step | 	$($step) | ||||||
| 	return=$? | 	return=$? | ||||||
| 	if [ "$return" -ne 0 ]; then | 	if [ "$return" -ne 0 ]; then | ||||||
| 		echo "=> Step failed. That is weird. Sorry. Check logs maybe." | 		echo "=> Step failed. That is weird. Sorry. Check logs maybe." | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user