base-files: fix shell syntax (prevent error messages when activating initscripts in IB)
SVN-Revision: 20571
This commit is contained in:
		@@ -74,5 +74,5 @@ EOF
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
ALL_COMMANDS="start stop reload restart boot shutdown enable disable enabled depends ${EXTRA_COMMANDS}"
 | 
					ALL_COMMANDS="start stop reload restart boot shutdown enable disable enabled depends ${EXTRA_COMMANDS}"
 | 
				
			||||||
list_contains ALL_COMMANDS "$action" || action=help
 | 
					list_contains ALL_COMMANDS "$action" || action=help
 | 
				
			||||||
[ "$action" == reload ] && action='eval reload "$@" || restart "$@" && :'
 | 
					[ "$action" = "reload" ] && action='eval reload "$@" || restart "$@" && :'
 | 
				
			||||||
$action "$@"
 | 
					$action "$@"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user