diff options
Diffstat (limited to 'usr/src/cmd/smbsrv/smbstat/smbstat.c')
-rw-r--r-- | usr/src/cmd/smbsrv/smbstat/smbstat.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/usr/src/cmd/smbsrv/smbstat/smbstat.c b/usr/src/cmd/smbsrv/smbstat/smbstat.c index de3773d247..1cc91b7232 100644 --- a/usr/src/cmd/smbsrv/smbstat/smbstat.c +++ b/usr/src/cmd/smbsrv/smbstat/smbstat.c @@ -20,6 +20,7 @@ */ /* + * Copyright 2011 Nexenta Systems, Inc. All rights reserved. * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. */ @@ -307,18 +308,11 @@ main(int argc, char *argv[]) (void) setlocale(LC_ALL, ""); (void) textdomain(TEXT_DOMAIN); - if (getzoneid() != GLOBAL_ZONEID) { - (void) fprintf(stderr, - gettext("%s: Cannot execute in non-global zone.\n"), - argv[0]); - return (0); - } - if (is_system_labeled()) { (void) fprintf(stderr, gettext("%s: Trusted Extensions not supported.\n"), argv[0]); - return (0); + return (1); } while ((c = getopt(argc, argv, "achnrtuz")) != EOF) { |