Add error message if bundle paths are invalid/inaccessible

This commit is contained in:
Zorg committed 2016-05-01 12:03:50 -04:00
1 parent c0a148f5ff
commit 004da55780
1 file changed
+1
+1
View File
@@ -83,6 +83,7 @@ int main(int argc, char **argv)
SUCommandLineDriver *driver = [[SUCommandLineDriver alloc] initWithUpdateBundlePath:updatePath applicationBundlePath:applicationPath deferInstallation:deferInstall verbose:verbose];
if (driver == nil) {
fprintf(stderr, "Error: Failed to initialize updater. Are the bundle paths provided valid?\n");
printUsage(argv);
return EXIT_FAILURE;
}