Changeset 10659


Ignore:
Timestamp:
May 18, 2010, 10:25:14 PM (11 years ago)
Author:
Longinus00
Message:

(daemon) Log pidfile errors in daemon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/daemon.c

    r10658 r10659  
    451451            fprintf( fp, "%d", (int)getpid() );
    452452            fclose( fp );
     453            tr_inf( "Saved pidfile \"%s\"", pid_filename );
    453454            pidfile_created = TRUE;
    454455        }
     456        else
     457            tr_err( "Unable to save pidfile \"%s\": %s", pid_filename, strerror( errno ) );
    455458    }
    456459
Note: See TracChangeset for help on using the changeset viewer.