From: Felix Fietkau Date: Wed, 8 Oct 2008 19:16:36 +0000 (+0000) Subject: merge r12925 to 8.09 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=661e084fa8246e8df656fd9c1246fb6d09b53e7f;p=openwrt%2Fsvn-archive%2Farchive.git merge r12925 to 8.09 SVN-Revision: 12926 --- diff --git a/scripts/env b/scripts/env index 642a329c16..65594f9a5d 100755 --- a/scripts/env +++ b/scripts/env @@ -119,12 +119,12 @@ env_revert() { } env_ask_sync() { + env_sync_data LINES="$(env_diff | wc -l)" # implies env_init [ "$LINES" -gt 0 ] && { if ask_bool 1 "Do you want to save your changes"; then env_sync else - env_sync_data env_do_reset fi }