We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38b0792 commit eb38af6Copy full SHA for eb38af6
1 file changed
rootfs/bin/boot
@@ -28,7 +28,7 @@ sleep $((ETCD_TTL+1))
28
29
function etcd_set_default {
30
set +e
31
- ERROR="$(etcdctl --no-sync -C "$ETCD" mk "$ETCD_PATH/$1" "$2" 2>&1 >/dev/null)"
+ ERROR="$(etcdctl --no-sync -C "$ETCD" mk "$ETCD_PATH/$1" "$2" 2>&1)"
32
if [[ $? -ne 0 ]] && echo "$ERROR" | grep -iqve "key already exists"; then
33
echo "etcd_set_default: an etcd error occurred ($ERROR)"
34
echo "aborting..."
@@ -39,7 +39,7 @@ function etcd_set_default {
39
40
function etcd_safe_mkdir {
41
42
- ERROR="$(etcdctl --no-sync -C "$ETCD" mkdir "$1" 2>&1 >/dev/null)"
+ ERROR="$(etcdctl --no-sync -C "$ETCD" mkdir "$1" 2>&1)"
43
44
45
echo "etcd_safe_mkdir: an etcd error occurred ($ERROR)"
0 commit comments