ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/stable/0.9/usr.sbin/mport/mport.c
(Generate patch)

Comparing stable/0.9/usr.sbin/mport/mport.c (file contents):
Revision 9668 by laffer1, Sun Oct 1 16:03:07 2017 UTC vs.
Revision 9669 by laffer1, Thu Nov 23 17:19:06 2017 UTC

# Line 91 | Line 91 | main(int argc, char *argv[]) {
91                          usage();
92                  }
93                  loadIndex(mport);
94 <                resultCode = install(mport, argv[2]);
94 >                for (i = 2; i < argc; i++) {
95 >                        tempResultCode = install(mport, argv[i]);
96 >                        if (tempResultCode != 0)
97 >                                resultCode = tempResultCode;
98 >                }
99                  });
100          } else if (!strcmp(argv[1], "delete")) {
101                  dispatch_group_async(grp, q, ^{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines