You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/migrate-from-host-setup
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,11 @@ fi
17
17
18
18
if [[ $(id -u)-eq 0 ]];then
19
19
is_root=1
20
+
else
21
+
echo"Checking for sudo access, you may be prompted for your password."
22
+
if! sudo -v &> /dev/null;then
23
+
abort "User does not have sudo access. Please run this script as a user with sudo access."
24
+
fi
20
25
fi
21
26
22
27
echo"This script will assist migrating your node from a host-based setups to Voi Swarm, if your node is already running a Voi or Algorand based setup."
0 commit comments