Commit bc825fd7 authored by Jondy Zhao's avatar Jondy Zhao

Fix syntax error in script slapos-node.sh

parent d7a0af70
#! /bin/bash #! /bin/bash
source $(/usr/bin/dirname $0)/slapos-include.sh source $(/usr/bin/dirname $0)/slapos-include.sh
echo ""
csih_inform "Start slapos-node script ..." csih_inform "Start slapos-node script ..."
echo ""
declare computer_guid declare computer_guid
...@@ -78,7 +76,7 @@ while true ; do ...@@ -78,7 +76,7 @@ while true ; do
for _x in $(find /opt/slapgrid/ -name slapos.cookbook-*.egg) ; do for _x in $(find /opt/slapgrid/ -name slapos.cookbook-*.egg) ; do
patch -d ${_x} -f --dry-run -p1 < ${_patch_file} > /dev/null && patch -d ${_x} -f --dry-run -p1 < ${_patch_file} > /dev/null &&
csih_inform "Apply patch ${_patch_file} on ${_x}" && csih_inform "Apply patch ${_patch_file} on ${_x}" &&
patch -d ${_x} -p1 < ${_patch_file}) patch -d ${_x} -p1 < ${_patch_file}
done done
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment