Skip to content

Commit

Permalink
fix flag parse issue
Browse files Browse the repository at this point in the history
separate flag name and flag value with equal sign instand of space.

Signed-off-by: Jizhong Jiang <jiangjizhong@gmail.com>
  • Loading branch information
jzwlqx committed Sep 15, 2017
1 parent f7b77a0 commit 7d9686c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/v2plugin/startcontiv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ set +e

echo "Starting Netplugin " >> $BOOTUP_LOGFILE
while true ; do
echo "/netplugin $dbg_flag -plugin-mode $plugin_mode $vxlan_port_cfg -vlan-if $iflist -cluster-store $cluster_store $ctrl_ip_cfg $vtep_ip_cfg" >> $BOOTUP_LOGFILE
/netplugin $dbg_flag -plugin-mode $plugin_mode $vxlan_port_cfg -vlan-if $iflist -cluster-store $cluster_store $ctrl_ip_cfg $vtep_ip_cfg &> $log_dir/netplugin.log
echo "/netplugin $dbg_flag -plugin-mode=$plugin_mode $vxlan_port_cfg -vlan-if=$iflist -cluster-store=$cluster_store $ctrl_ip_cfg $vtep_ip_cfg" >> $BOOTUP_LOGFILE
/netplugin $dbg_flag -plugin-mode=$plugin_mode $vxlan_port_cfg -vlan-if=$iflist -cluster-store=$cluster_store $ctrl_ip_cfg $vtep_ip_cfg &> $log_dir/netplugin.log
echo "CRITICAL : Net Plugin has exited, Respawn in 5" >> $BOOTUP_LOGFILE
mv $log_dir/netplugin.log $log_dir/netplugin.log.lastrun
sleep 5
Expand Down

0 comments on commit 7d9686c

Please sign in to comment.