Search Results

Search: Posts Made By: maddmaster
4,409
Posted By jlliagre
or the simpler: DB_PASS="$(get_db_password...
or the simpler:
DB_PASS="$(get_db_password ITM2)" || exit 1
4,409
Posted By Scrutinizer
By using $(get_db_password ITM2), the function is...
By using $(get_db_password ITM2), the function is run inside a sub-shell. The "exit 1" exits this sub-shell and then it is back to the parent shell, where you can check the sub-shell's return code,...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 07:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy