comparison scripts/image/image_viewer.m @ 10635:d1978e7364ad

Print name of function in error() string messages.
author Rik <octave@nomad.inbox5.com>
date Sun, 16 May 2010 22:26:54 -0700
parents 2c01d24459fb
children 693e22af08ae
comparison
equal deleted inserted replaced
10634:60542efcfa2c 10635:d1978e7364ad
155 status = system (sprintf ("( %s && %s) > /dev/null 2>&1 &", command, rm)); 155 status = system (sprintf ("( %s && %s) > /dev/null 2>&1 &", command, rm));
156 endif 156 endif
157 157
158 ## Did the system call fail? 158 ## Did the system call fail?
159 if (status != 0) 159 if (status != 0)
160 error ("the image viewing command failed"); 160 error ("image_viewer: the image viewing command failed");
161 endif 161 endif
162 162
163 endfunction 163 endfunction