Changeset 11518 for trunk

Show
Ignore:
Timestamp:
10/20/08 10:50:06 (3 months ago)
Author:
javier.amor.garcia@…
Message:

EBox::Serivce escapes now file's path

Location:
trunk/client/ebox
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/client/ebox/ChangeLog

    r11517 r11518  
    110.12.100 
    2         + EBox::Module::writeConfFile escapes now file's path 
     2        + EBox::Module::writeConfFile and EBox::Service scape fil'es path 
    330.12.99 
    44        + Add support for reporting 
  • trunk/client/ebox/src/EBox/Service.pm

    r10308 r11518  
    4242 
    4343        if ( $action eq 'start' ) { 
    44                 root("start $daemon"); 
     44                root("start '$daemon'"); 
    4545        } 
    4646        elsif ( $action eq 'stop' ) { 
    47                 root("stop $daemon"); 
     47                root("stop '$daemon'"); 
    4848        } 
    4949        elsif ( $action eq 'restart') { 
    50                 root("stop $daemon"); 
    51                 root("start $daemon"); 
     50                root("stop '$daemon'"); 
     51                root("start '$daemon'"); 
    5252        } 
    5353        else { 
     
    7575                throw EBox::Exceptions::Internal("No such daemon: $daemon"); 
    7676 
    77         my $output = root("status $daemon"); 
     77        my $output = root("status '$daemon'"); 
    7878        my $status = @{$output}[0]; 
    7979        # TODO: Parse different exit status: