Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Show error message and exit if $FOO is unset (or null)

${FOO:?message}
Source by devhints.io #
 
PREVIOUS NEXT
Tagged: #Show #error #message #exit #unset
ADD COMMENT
Topic
Name
1+7 =