You need to sign in or sign up before continuing.
Commit e31730b9 authored by dobli's avatar dobli
Browse files

fixed path of device script

parent 15aa0c15
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -1418,10 +1418,10 @@ def device_menu(args): ...@@ -1418,10 +1418,10 @@ def device_menu(args):
base_dir = os.getcwd() base_dir = os.getcwd()
# Check if device scripts are installed # Check if device scripts are installed
bin_path = 'usr/bin/enable-swarm-device' bin_path = '/usr/bin/enable-swarm-device'
choices = ['Install device scripts'] choices = ['Install device scripts']
if not os.path.exists(bin_path): if os.path.exists(bin_path):
choices.append('Link device to service') choices.append('Link device to service')
choices.append('Exit') choices.append('Exit')
......
Supports Markdown
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