aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2008-05-18 12:43:24 +0000
committerRafael J. Wysocki <rjw@sisk.pl>2008-05-18 12:43:24 +0000
commita80e92eac823971e83806c898632d2b455f77d3d (patch)
treef6776b4684726a235d15c84a24c7690ad41d515c
parent7c7afedf5ebfe75a0b5a58086a62eac2a31be3ff (diff)
downloadsuspend-utils-a80e92eac823971e83806c898632d2b455f77d3d.tar.gz
Fix coding style in suspend.c:main().
-rw-r--r--suspend.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/suspend.c b/suspend.c
index b0bcf19..c93d219 100644
--- a/suspend.c
+++ b/suspend.c
@@ -1751,11 +1751,9 @@ int main(int argc, char *argv[])
if (!strcmp (shutdown_method_value, "shutdown")) {
shutdown_method = SHUTDOWN_METHOD_SHUTDOWN;
- }
- else if (!strcmp (shutdown_method_value, "platform")) {
+ } else if (!strcmp (shutdown_method_value, "platform")) {
shutdown_method = SHUTDOWN_METHOD_PLATFORM;
- }
- else if (!strcmp (shutdown_method_value, "reboot")) {
+ } else if (!strcmp (shutdown_method_value, "reboot")) {
shutdown_method = SHUTDOWN_METHOD_REBOOT;
}