summaryrefslogtreecommitdiff
path: root/usr/src/cmd/svc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/svc')
-rw-r--r--usr/src/cmd/svc/configd/restore_repository.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/cmd/svc/configd/restore_repository.sh b/usr/src/cmd/svc/configd/restore_repository.sh
index 3d84c68c21..0c8e4bab54 100644
--- a/usr/src/cmd/svc/configd/restore_repository.sh
+++ b/usr/src/cmd/svc/configd/restore_repository.sh
@@ -21,6 +21,7 @@
# CDDL HEADER END
#
#
+# Copyright 2012 Nexenta Sysytems, Inc. All rights reserved.
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
@@ -91,7 +92,7 @@ this script to restore backup copies of the smf(5) repository.
If there are any problems which need human intervention, this script will
give instructions and then exit back to your shell."
-if [ "$myroot" -eq / ]; then
+if [ "$myroot" = "/" ]; then
system="system"
[ "`/sbin/zonename`" != global ] && system="zone"
echo >&2 "