Revision 7289c16e

b/daemons/daemon-util.in
116 116

  
117 117
orig_action=$1; shift
118 118

  
119
if [[ "$orig_action" == *_* ]]; then
120
  echo "Command must not contain underscores" >&2
121
  exit 1
122
fi
123

  
119 124
# Replace all dashes (-) with underlines (_)
120 125
action=${orig_action//-/_}
121 126

  

Also available in: Unified diff