[system-tools-backends-clone] Bug 590238 - Fix typo when setting services on Gentoo



commit c8e49f25d51cd86c371e489e1cae7512ff5fcbaf
Author: Jeremy Guitton <debotux free fr>
Date:   Wed Aug 19 00:54:02 2009 +0200

    Bug 590238 - Fix typo when setting services on Gentoo
    
    Use --nocolor instead of -nocolor.

 Init/Services.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Init/Services.pm b/Init/Services.pm
index c1d2620..a76f5dc 100644
--- a/Init/Services.pm
+++ b/Init/Services.pm
@@ -659,7 +659,7 @@ sub get_gentoo_runlevels
 sub get_gentoo_services_for_runlevel
 {
   my($runlevel) = @_;
-  my($raw_output) = Utils::File::run_backtick("rc-status -nocolor $runlevel");
+  my($raw_output) = Utils::File::run_backtick("rc-status --nocolor $runlevel");
   my(@raw_lines) = split(/\n/,$raw_output);
   my($line, $service);
   my(%services);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]