add missing else
authorWoongsuk Cho <ws77.cho@samsung.com>
Tue, 2 Oct 2018 04:38:24 +0000 (13:38 +0900)
committer조웅석/Tizen Platform Lab(SR)/Staff Engineer/삼성전자 <ws77.cho@samsung.com>
Thu, 4 Oct 2018 01:07:05 +0000 (10:07 +0900)
NativeLauncher/installer-plugin/nitool.cc

index 5d7edcc..5c1ea0a 100644 (file)
@@ -125,7 +125,7 @@ int main(int argc, char* argv[])
                                return -1;
                        }
                }
-       } if (pkgDllMode) {
+       } else if (pkgDllMode) {
                if (createNiDllUnderPkgRoot(args[0], args[1], enableR2R) != 0) {
                        fprintf(stderr, "Failed to get root path from [%s]\n", args[0].c_str());
                        return -1;