We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7b4325 commit a8313f9Copy full SHA for a8313f9
CHANGELOG.md
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
## [Unreleased]
8
### Changed
9
- export-ports: relax the check bout the pot's network type
10
+- list: print a message, if there are no pot yet
11
12
## [0.10.2] 2019-12-17
13
### Added
share/pot/list.sh
@@ -51,6 +51,12 @@ _ls_pots()
51
local _pots _q
52
_q=$1
53
_pots=$( _get_pot_list )
54
+ if [ -z "$_pots" ]; then
55
+ if [ "$_q" != "quiet" ]; then
56
+ echo "No pot created yet..."
57
+ fi
58
+ return
59
60
for _p in $_pots; do
61
if [ "$_q" = "quiet" ]; then
62
echo "$_p"
0 commit comments