mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[fix] ./manage script, prompt the unknown command
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
		
							parent
							
								
									555bea6f24
								
							
						
					
					
						commit
						e179dba7e4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								manage
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								manage
									
										
									
									
									
								
							|  | @ -525,7 +525,7 @@ main() { | ||||||
|         *) |         *) | ||||||
|             _type="$(type -t "$cmd")" |             _type="$(type -t "$cmd")" | ||||||
|             if [ "$_type" != 'function' ]; then |             if [ "$_type" != 'function' ]; then | ||||||
|                 err_msg "unknown command $1 / use --help" |                 err_msg "unknown command: $cmd / use --help" | ||||||
|                 return 42 |                 return 42 | ||||||
|             else |             else | ||||||
|                 "$cmd" "$@" |                 "$cmd" "$@" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Markus Heiser
						Markus Heiser