diff options
author | Armaël Guéneau <armael.gueneau@ens-lyon.org> | 2024-04-26 13:15:52 +0200 |
---|---|---|
committer | Armaël Guéneau <armael.gueneau@ens-lyon.org> | 2024-04-26 13:15:52 +0200 |
commit | 37192f9dff1de1543676a1e77109bc0bde57d425 (patch) | |
tree | b43c1de6df2fa372629ec22d592916b9f08e414f | |
parent | e6bac83e020cf49c14687229b26cacb1b9ed3c49 (diff) | |
download | nixcfg-37192f9dff1de1543676a1e77109bc0bde57d425.tar.gz nixcfg-37192f9dff1de1543676a1e77109bc0bde57d425.zip |
tlsproxy: better error message when no argument is passed
-rwxr-xr-x | tlsproxy | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ set -xe cd $(dirname $0) CLUSTER="$1" -if [ ! -d "cluster/$CLUSTER" ]; then +if [ ! -d "cluster/$CLUSTER" ] || [ -z "$CLUSTER" ]; then echo "Usage: $0 <cluster name>" echo "The cluster name must be the name of a subdirectory of cluster/" exit 1 |