IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 4, 2009, 12:51:51 PM (17 years ago)
Author:
jhoblitt
Message:

fix octal output in error messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Server.pm

    r24316 r24324  
    19911991        my $mode = [_retry(sub { stat($storage_path) } )]->[2] & 07777;
    19921992        unless ($mode == 0775) {
    1993             $log->error("$storage_path has the wrong permissions of: %04x", $mode);
     1993            $log->error("$storage_path has the wrong permissions of: 0", sprintf("%o", $mode));
    19941994            _retry(sub { chmod(0775, $storage_path) }) or die "can't chmod $storage_path: $!";
    19951995        }
Note: See TracChangeset for help on using the changeset viewer.