X-Plane improve error messages
parent
aee0a14966
commit
a930a85f55
|
@ -116,7 +116,7 @@ let
|
||||||
printf "Reverting all modifications\n"
|
printf "Reverting all modifications\n"
|
||||||
for f in "$XPLANEPATH/.addons"/revert-* ; do
|
for f in "$XPLANEPATH/.addons"/revert-* ; do
|
||||||
printf "Reverting %s\n" "''${f##*/revert-}"
|
printf "Reverting %s\n" "''${f##*/revert-}"
|
||||||
"''${f}"
|
"''${f}" || { printf "Failed reverting %s\n" "''${f##*/revert-}. Stopping"; exit 1; }
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
for f in "$@" ; do
|
for f in "$@" ; do
|
||||||
|
|
Loading…
Reference in New Issue