Codebase list debian-goodies / 8c0e884
checkrestart: Skip files under /dev (Closes: #827696) Peter Colberg authored 7 years ago Axel Beckert committed 7 years ago
1 changed file(s) with 2 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
473473 # Or about files under /tmp
474474 if f.startswith('/tmp/'):
475475 return 0
476 # Or about files under /dev/shm
477 if f.startswith('/dev/shm/'):
476 # Or about files under /dev
477 if f.startswith('/dev/'):
478478 return 0
479479 # Or about files under /run
480480 if f.startswith('/run/'):
484484 return 0
485485 # Or about files under /var/tmp and /var/local/tmp
486486 if f.startswith('/var/tmp/') or f.startswith('/var/local/tmp/'):
487 return 0
488 # Or /dev/zero
489 if f.startswith('/dev/zero'):
490 return 0
491 # Or /dev/pts (used by gpm)
492 if f.startswith('/dev/pts/'):
493487 return 0
494488 # Or /usr/lib/locale
495489 if f.startswith('/usr/lib/locale/'):