[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#662843: debian-edu-config: Cron job to clean up LTSP swap files do not work



Package: debian-edu-config
Version: 1.446
Severity: important

I just discovered that this code in
/usr/share/debian-edu-config/tools/nbdswap-cleanup do not work.

  # exit if its already running
  # (this shouldnt happen - but will happen if lsof hangs)
  ps fax|grep -v grep|grep $0 && exit 0

This code will always exit as the script will see itself as running and
stop.  Not quite sure how to best fix this.
-- 
Happy hacking
Petter Reinholdtsen



Reply to: