Changeset 1158 for dasscm/trunk/usr/bin


Ignore:
Timestamp:
Oct 19, 2013, 11:53:47 PM (11 years ago)
Author:
joergs
Message:

set also LC_ALL to C to prevent warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dasscm/trunk/usr/bin/dasscm

    r1133 r1158  
    803803        # bash -c is used, to supress all output
    804804        # (otherwise there are problem with && commands)
    805         ( my $rc_test, my @result_test ) = run_command( 'LANG=C bash -c "' . $plugin_test . '"' );
     805        ( my $rc_test, my @result_test ) = run_command( 'LANG=C LC_ALL=C bash -c "' . $plugin_test . '"' );
    806806        if ( $rc_test != 0 ) {
    807807            if ($verbose) { print "skipped\n"; }
    808808        } else {
    809809            if ($verbose) { print "$config->{$plugin}\n"; }
    810             ( my $rc, my @result ) = run_command( 'LANG=C bash -c "' . $config->{$plugin} . '"' );
     810            ( my $rc, my @result ) = run_command( 'LANG=C LC_ALL=C bash -c "' . $config->{$plugin} . '"' );
    811811            if ( $rc != 0 ) {
    812812                warning("failed to run plugin $plugin");
Note: See TracChangeset for help on using the changeset viewer.