Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • CE-22.5
    • Unix Agent
    • None

    Description

      Unless you add something like

      use English qw( -no_match_vars );
      

      the variable $PID will be empty. Use $$ instead, like:

              # write file
              $tmpfile = "$CACHEFILE.TMP.$$";
              open (OUTFILE, ">$tmpfile")
                      or die "File open failure: $tmpfile\n";
              print OUTFILE @data;
              close OUTFILE;
              rename ( $tmpfile, $CACHEFILE );
      

       

      Attachments

        Activity

          [OBS-4723] $PID empty in Apache agent check
          There are no comments yet on this issue.

          People

            sid3windr Tom Laermans
            markruys Mark Ruys
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: