mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-31 06:16:35 -04:00
Slim down ConfigParser error system
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ func DeviceIDGen(oldDeviceID string) (string, string, error) {
|
||||
// register new device ID with server and fetch remote EntryRoot and OS type
|
||||
// also removes the old device ID file (remotely)
|
||||
// manualSync is true so the user is alerted if device ID registration fails
|
||||
sshClient, _, _, err := syncclient.GetSSHClient(true)
|
||||
sshClient, _, _, err := syncclient.GetSSHClient()
|
||||
if err != nil {
|
||||
return "", "", errors.New("unable to connect to SSH client: " + err.Error())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user