From owner-svn-src-head@FreeBSD.ORG Thu Jan 3 00:49:12 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A5E7A5E9; Thu, 3 Jan 2013 00:49:12 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 98BC4CCE; Thu, 3 Jan 2013 00:49:12 +0000 (UTC) Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r030nCOT098000; Thu, 3 Jan 2013 00:49:12 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r030nCYm097999; Thu, 3 Jan 2013 00:49:12 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201301030049.r030nCYm097999@svn.freebsd.org> From: Marius Strobl Date: Thu, 3 Jan 2013 00:49:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r244986 - head/usr.sbin/daemon X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2013 00:49:12 -0000 Author: marius Date: Thu Jan 3 00:49:11 2013 New Revision: 244986 URL: http://svnweb.freebsd.org/changeset/base/244986 Log: Remove bogus '-' from getopt(3) string hit when porting daemon(8) to GNU/Linux *duck*. MFC after: 1 week Modified: head/usr.sbin/daemon/daemon.c Modified: head/usr.sbin/daemon/daemon.c ============================================================================== --- head/usr.sbin/daemon/daemon.c Wed Jan 2 23:29:54 2013 (r244985) +++ head/usr.sbin/daemon/daemon.c Thu Jan 3 00:49:11 2013 (r244986) @@ -62,7 +62,7 @@ main(int argc, char *argv[]) nochdir = noclose = 1; restart = 0; pidfile = user = NULL; - while ((ch = getopt(argc, argv, "-cfp:ru:")) != -1) { + while ((ch = getopt(argc, argv, "cfp:ru:")) != -1) { switch (ch) { case 'c': nochdir = 0;