Skip to content

Commit

Permalink
Corrected an incorrect log string--the one which occurs when the old …
Browse files Browse the repository at this point in the history
…app can't be trashed.
  • Loading branch information
andymatuschak committed Jun 21, 2008
1 parent 074646e commit c2c3a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NSFileManager+Authentication.m
Expand Up @@ -229,7 +229,7 @@ - (BOOL)copyPathWithAuthentication:(NSString *)src overPath:(NSString *)dst erro
// Trash the old copy of the app.
NSInteger tag = 0;
if (![[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceRecycleOperation source:[tmpPath stringByDeletingLastPathComponent] destination:@"" files:[NSArray arrayWithObject:[tmpPath lastPathComponent]] tag:&tag])
NSLog(@"Sparkle error: couldn't move %@ to the trash. This is often a sign of a permissions error.", src, dst);
NSLog(@"Sparkle error: couldn't move %@ to the trash. This is often a sign of a permissions error.", tmpPath);

// If the currently-running application is trusted, the new
// version should be trusted as well. Remove it from the
Expand Down

0 comments on commit c2c3a68

Please sign in to comment.