#!ruby # --- errorMsg --- # # Author: Magnus Engström # Email: magnus@gisab.se # File: errorWrite # # Description # ----------- # Outputs an error message to the administrator # ------------------ def errorMsg(message, exitapp = false) STDERR.puts(message) MP3Control::exit_mpg123() if(exitapp) Kernel::exit(exitapp) if(exitapp) # Terminate application and return the exitapp value if it isn't falsew end