Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 5979

Unzip version check fails if we add exit 1

$
0
0

unzip --version || exit 1 Is logging out the VM

Expecting the version check will succeeded with out logging out the ubuntu vm

Ubuntu version: 22.04LTS

Using bash script to install unzip and check the version

it works when i use (unzip --version || exit 1)


Viewing all articles
Browse latest Browse all 5979

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>