Skip to content

Commit

Permalink
shift the 1st arg HOST_PID prior to run klish (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwangsuk authored and GitHub Enterprise committed Feb 21, 2022
1 parent f9edd88 commit 8e8c750
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CLI/klish/clish_start
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash

# Remove the first arg HOST_PID
if [[ "$1" == "HOST_PID"* ]]; then
shift
fi

export SONIC_MGMT_ROOT=/usr/sbin
export SONIC_CLI_ROOT=$SONIC_MGMT_ROOT/cli
if [ -z $SYSTEM_NAME ]
Expand Down

0 comments on commit 8e8c750

Please sign in to comment.