Change-Id: Ib0caf4804413def212751c03eba1509a1c61f14b
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
exit(EXIT_FAILURE);
}
- if (optVal == DPM_ADMIN_CLI_REGISTER)
+ if (optVal == DPM_ADMIN_CLI_REGISTER) {
return registAdminClient(pkgName, static_cast<uid_t>(uid));
- else if (optVal == DPM_ADMIN_CLI_DEREGISTER)
+ } else if (optVal == DPM_ADMIN_CLI_DEREGISTER) {
return deregistAdminClient(pkgName, static_cast<uid_t>(uid));
- else {
+ } else {
printUsage();
exit(EXIT_FAILURE);
}
return 0;
-}
\ No newline at end of file
+}