=================================================================== RCS file: /cvs/openbsd/update_openbsd/update_openbsd,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- openbsd/update_openbsd/update_openbsd 2009/10/26 20:52:23 1.26 +++ openbsd/update_openbsd/update_openbsd 2009/12/04 04:26:36 1.27 @@ -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.26 2009/10/26 19:52:23 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