Skip to content
This repository was archived by the owner on Sep 26, 2021. It is now read-only.

Commit 07d75d5

Browse files
committed
Fix bug where upgrade would fail if fish is the default shell
Signed-off-by: Jeffrey Morgan <[email protected]>
1 parent a60128c commit 07d75d5

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

osx/installerplugins/managevmplugin/managevmpluginPane.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ - (void) upgradeBoot2DockerVM {
148148
// Do the migration
149149
NSTask* task = [[NSTask alloc] init];
150150
task.launchPath = @"/usr/bin/sudo";
151-
task.arguments = [NSArray arrayWithObjects:@"-i", @"-u", NSUserName(), [NSString stringWithFormat:@"%@ -D stop default || true && cp %@/.docker/machine/cache/boot2docker.iso %@/.docker/machine/machines/default/boot2docker.iso", dockerMachinePath, NSHomeDirectory(), NSHomeDirectory()], nil];
151+
task.arguments = [NSArray arrayWithObjects:@"-i", @"-u", NSUserName(), [NSString stringWithFormat:@"%@ -D stop default; cp %@/.docker/machine/cache/boot2docker.iso %@/.docker/machine/machines/default/boot2docker.iso", dockerMachinePath, NSHomeDirectory(), NSHomeDirectory()], nil];
152152

153153
[self runTask:task onFinish:^void (int status) {
154154
self.nextEnabled = YES;
Binary file not shown.

0 commit comments

Comments
 (0)