View | Details | Raw Unified | Return to bug 566391
Collapse All | Expand All

(-)functions.orig (-1 / +6 lines)
Lines 321-330 Link Here
321
321
322
	run_hooks "$1" "$2"
322
	run_hooks "$1" "$2"
323
323
324
	if [ ! -e "$INHIBIT" -a "$(type -t "do_$1")" == "function" ]; then
324
	if [ -e "$INHIBIT" ]; then
325
	  echo $'\n################ suspend INHIBITED !! ################'
326
	  cat "$INHIBIT";echo; echo
327
	else
328
	  if [ "$(type -t "do_$1")" == "function" ]; then
325
		sync ; sync ; sync
329
		sync ; sync ; sync
326
		"do_$1"
330
		"do_$1"
327
		RET=$?
331
		RET=$?
332
	  else echo "do_$1 not a funtion ###### BASH ERROR ######"; fi
328
	fi
333
	fi
329
334
330
	run_hooks "$1" "$3" reverse
335
	run_hooks "$1" "$3" reverse

Return to bug 566391