Ignore:
Timestamp:
Feb 4, 2015, 11:33:51 PM (10 years ago)
Author:
andersk
Message:
check_afs: Add test for getcwd bug
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/nagios/check_afs

    r2152 r2667  
    33
    44if [ $# -ge 1 ]; then
    5     CHECKS=`/usr/bin/fs checks -cell "$1" -fast`
     5    CHECKS="$(
     6        /usr/bin/fs checks -cell "$1" -fast &&
     7        cd "/afs/$1" &&
     8        /bin/dash -c '[ "$(pwd -P)" ]' 2>&1
     9    )"
    610else
    711    CHECKS=`/usr/bin/fs checks -all -fast`
Note: See TracChangeset for help on using the changeset viewer.