mirror of
				https://github.com/limosek/zaf.git
				synced 2025-10-31 17:47:37 +01:00 
			
		
		
		
	Repaired setting option
This commit is contained in:
		| @@ -104,8 +104,8 @@ zaf_set_zabbix_option() { | ||||
| 	local option="$2" | ||||
| 	local value="$3" | ||||
| 	if grep -q ^$option\= $cfgfile; then | ||||
| 		zaf_dbg "Setting option $option in $cfgfile." | ||||
| 		sed -i "s/$option=\(.*\)/$option=$2/" $cfgfile | ||||
| 		zaf_dbg "Setting option $option in $cfgfile to $3." | ||||
| 		sed -i "s/$option=\(.*\)/$option=$value/" $cfgfile | ||||
| 	else | ||||
| 		 zaf_move_zabbix_option "$1" "$2" "$3" | ||||
| 	fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lukas Macura
					Lukas Macura