projects
/
platform
/
core
/
system
/
deviced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
815e0a9
)
Disable reboot option check
64/217364/1
accepted/tizen/unified/20191111.105547
submit/tizen/20191111.023004
submit/tizen/20191111.023037
author
Hyotaek Shim
<hyotaek.shim@samsung.com>
Mon, 11 Nov 2019 02:13:52 +0000
(11:13 +0900)
committer
Hyotaek 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
patch
|
blob
|
history
diff --git
a/src/power/power-handler.c
b/src/power/power-handler.c
index
8bdba86
..
404b7e4
100644
(file)
--- a/
src/power/power-handler.c
+++ b/
src/power/power-handler.c
@@
-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;
}