~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerheadd

  • Committer: John Arbash Meinel
  • Date: 2011-04-14 14:10:04 UTC
  • Revision ID: john@arbash-meinel.com-20110414141004-pzcx63izsdt3sqmc
under load, the test can take longer than 100ms accidentally.

It shouldn't ever take more than 2.0s, if it does, something is probably
wrong.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
LHUSER=loggerhead
18
18
 
19
 
if [ `whoami` = "$LHUSER" ]; then                                                                                   
 
19
if [ `whoami` = "$LHUSER" ]; then
20
20
    SUDO=""
21
 
else                                                                                                                
 
21
else
22
22
    SUDO="sudo -H -u $LHUSER"
23
23
fi
24
24