=================================================================== RCS file: /cvs/openbsd/update_openbsd/update_openbsd,v retrieving revision 1.26 retrieving revision 1.28 diff -u -r1.26 -r1.28 --- openbsd/update_openbsd/update_openbsd 2009/10/26 20:52:23 1.26 +++ openbsd/update_openbsd/update_openbsd 2009/12/10 06:09:40 1.28 @@ -1,5 +1,5 @@ #!/bin/sh -# $RedRiver: update_openbsd,v 1.25 2009/06/13 16:34:46 andrew Exp $ +# $RedRiver: update_openbsd,v 1.27 2009/12/04 04:26:36 andrew Exp $ installed_sets() { local misc=/usr/share/doc/README @@ -459,7 +459,9 @@ echo ERROR: No upgrade sets found! >&2 else echo '### RUNNING SYSMERGE ###' - _args="-a $_args" + if sysmerge 2>&1 | grep -- -a >/dev/null; then + _args="-a $_args" + fi $SUDO $SYSMERGE $_args fi fi @@ -536,7 +538,7 @@ else echo Instructions for updating to the new version available from - echo " http://www.openbsd.org/faq/upgrade${_v}.html" + echo " http://www.openbsd.org/faq/upgrade${FILE_VER}.html" fi echo New kernel installed. Please reboot!