r1k0/kicktoo — Issue #8: cleanup looking for non-existant proc files
Author: wimmuskee
Created: 2011-11-04 18:21:25+00:00
State: open

When cleanup() is run, it's looking for some proc files which don't exist on my system:

awk: cmd. line:1: fatal: cannot open file `/proc/swaps' for reading (No such file or directory)
ls: cannot access /dev/mapper: No such file or directory

I'm running 2.6.29-gentoo-r5

Not sure if to use config values to check for these, or with a plain if [ -f /proc/swaps]