]> git.nbdom.net Git - nb.git/commitdiff
etc/profile.d/nb.sh
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Mon, 30 Jul 2018 22:39:47 +0000 (23:39 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Mon, 30 Jul 2018 22:39:47 +0000 (23:39 +0100)
etc/profile.d/nb.sh

index 18c782e99b394e8220d0ce15bf26a72462215627..2c1561634fd5ce34bb442fc452cb63b2860eb063 100644 (file)
@@ -122,6 +122,6 @@ nb_api_post_host_info() {
 nb_post_sys_infos() {
        # To be compatible with other sed that does not support \t
        sys_infos | tr '\t' '!' | sed -e 's/"/\\"/g' -e 's/^/key="sys./' -e 's/!/" val="/' -e 's/$/"/' | while read -r i; do
-               echo eval nb_api_post_host_info $i
+               eval nb_api_post_host_info $i
        done
 }