Ensure error message is included when bailing out

This commit is contained in:
Michael Stapelberg 2016-10-07 13:36:45 +02:00
parent 4d66841811
commit ea0b5dd335
1 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ is_num_children($third_ws, 2, 'two containers on the third workspace');
# environment variable. # environment variable.
###################################################################### ######################################################################
mkfifo($tmp, 0600) or BAIL_OUT "Could not create FIFO in $tmp"; mkfifo($tmp, 0600) or BAIL_OUT "Could not create FIFO in $tmp: $!";
cmd qq|exec --no-startup-id echo \$DESKTOP_STARTUP_ID >$tmp|; cmd qq|exec --no-startup-id echo \$DESKTOP_STARTUP_ID >$tmp|;
@ -208,7 +208,7 @@ is($startup_id, '', 'startup_id empty');
# 4) same thing, but with double quotes in exec # 4) same thing, but with double quotes in exec
###################################################################### ######################################################################
mkfifo($tmp, 0600) or BAIL_OUT "Could not create FIFO in $tmp"; mkfifo($tmp, 0600) or BAIL_OUT "Could not create FIFO in $tmp: $!";
cmd qq|exec --no-startup-id "echo \$DESKTOP_STARTUP_ID >$tmp"|; cmd qq|exec --no-startup-id "echo \$DESKTOP_STARTUP_ID >$tmp"|;