Changeset 2270


Ignore:
Timestamp:
06/09/2008 11:44:47 (3 years ago)
Author:
chris
Message:

Don't try to kill daemons if not running, avoid error messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/infrastructure/makebuildenv.pl.in

    r2240 r2270  
    420420                        } 
    421421 
    422  
    423422                        print TESTFILE <<__E; 
    424423echo Removing old test files... 
     
    445444                        { 
    446445                                print TESTFILE <<__E; 
     446 
    447447# echo Killing any running daemons... 
    448 test -r testfiles/bbackupd.pid && kill `cat testfiles/bbackupd.pid` 
    449 test -r testfiles/bbstored.pid && kill `cat testfiles/bbstored.pid` 
     448test -r testfiles/bbackupd.pid \\ 
     449&& kill -0 `cat testfiles/bbackupd.pid` \\ 
     450&& kill `cat testfiles/bbackupd.pid` 
     451 
     452test -r testfiles/bbstored.pid \\ 
     453&& kill -0 `cat testfiles/bbstored.pid` \\ 
     454&& kill `cat testfiles/bbstored.pid` 
    450455__E 
    451456                        } 
Note: See TracChangeset for help on using the changeset viewer.