Skip to content

Commit

Permalink
autoupdater: Skip neighbour version flag on force
Browse files Browse the repository at this point in the history
  • Loading branch information
TobleMiner committed Mar 21, 2019
1 parent e01ac17 commit e704dc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autoupdater/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=autoupdater
PKG_VERSION:=4
PKG_VERSION:=5

PKG_BUILD_DEPENDS := librespondd libmeshneighbour

Expand Down
2 changes: 1 addition & 1 deletion autoupdater/src/autoupdater.c
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ int main(int argc, char *argv[]) {
continue;
}

if(!newer_than(release_str, s.old_version)) {
if(!newer_than(release_str, s.old_version) && !s.force) {
fprintf(stderr, "autoupdater: notice: Frimware version '%s' not newer than '%s', skipping neighbour\n", release_str, s.old_version);
continue;
}
Expand Down

0 comments on commit e704dc0

Please sign in to comment.