Disable reboot option check 64/217364/1 accepted/tizen/unified/20191111.105547 submit/tizen/20191111.023004 submit/tizen/20191111.023037
authorHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 11 Nov 2019 02:13:52 +0000 (11:13 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Mon, 11 Nov 2019 02:13:52 +0000 (11:13 +0900)
Change-Id: If0ab215661dd131c04558ae055260b2fa72e1246
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
src/power/power-handler.c

index 8bdba86..404b7e4 100644 (file)
@@ -422,6 +422,7 @@ static int poweroff_option_valid(enum poweroff_type type_e, const char *option)
                if (elem->type != type_e)
                        continue;
 
+               /* Do not match option
                if (option) {
                        if (elem->option == NULL)
                                continue;
@@ -430,7 +431,7 @@ static int poweroff_option_valid(enum poweroff_type type_e, const char *option)
                } else {
                        if (elem->option != NULL)
                                continue;
-               }
+               } */
                return 1;
        }