diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-11 12:24:28 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-11 12:24:28 -0300 |
commit | 8356c30791a582ffc357a5522cc5ec9e6c7140a2 (patch) | |
tree | 3349f8363fec788159d771fbff2268cea561c706 | |
parent | 8d1967a3f3af633ec41f36938f4e2549e91f12d7 (diff) | |
download | kvmx-8356c30791a582ffc357a5522cc5ec9e6c7140a2.tar.gz kvmx-8356c30791a582ffc357a5522cc5ec9e6c7140a2.tar.bz2 |
Fix kvmx_config config get
-rwxr-xr-x | kvmx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1110,7 +1110,7 @@ function kvmx_config { if [ -z "$1" ]; then grep "^$param=" $KVMXFILE | \ - sed -e 's/="/=/' -e 's/"$//' -e "s/='/=/" -e "s/'$//" -e 's/^.*=//' + sed -e 's/="/=/' -e 's/"$//' -e "s/='/=/" -e "s/'$//" -e "s/^$param=//" elif ! grep -q "^$param=" $KVMXFILE; then echo "$param=\"$*\"" >> $KVMXFILE else |