|
|
@@ -1347,7 +1347,7 @@ source_conf(){
|
|
|
while IFS='= ' read -r lhs rhs
|
|
|
do
|
|
|
if [[ ! $lhs =~ ^\ *# && -n $lhs ]]; then
|
|
|
- rhs="${rhs%%\#*}" # Del in line right comments
|
|
|
+ rhs="${rhs%%^\#*}" # Del in line right comments
|
|
|
rhs="${rhs%%*( )}" # Del trailing spaces
|
|
|
rhs="${rhs%\'*}" # Del opening string quotes
|
|
|
rhs="${rhs#\'*}" # Del closing string quotes
|
|
|
@@ -1376,4 +1376,4 @@ change_sys_value(){
|
|
|
else
|
|
|
sed -i "s|^$1=.*|$1='$2'|g" "$HESTIA/conf/hestia.conf"
|
|
|
fi
|
|
|
-}
|
|
|
+}
|