summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-09-06 23:33:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-09-06 23:33:07 +0000
commit254454a2f6ced73758893b611f4a68ee404ba6dd (patch)
treec13fc10ff4e003f3ab3999be165b845e36dc56fb
parent347819236ff5cdfe3c69ab6cc3c1999dff0dd6ba (diff)
downloadpfsense-254454a2f6ced73758893b611f4a68ee404ba6dd.zip
pfsense-254454a2f6ced73758893b611f4a68ee404ba6dd.tar.gz
Hide misc errors that occur on / when we have a read-only filesystem (livecd).
-rw-r--r--etc/phpshellsessions/cvssync2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/phpshellsessions/cvssync b/etc/phpshellsessions/cvssync
index a58a6c9..e82f774 100644
--- a/etc/phpshellsessions/cvssync
+++ b/etc/phpshellsessions/cvssync
@@ -149,7 +149,7 @@ echo "===> Installing new files...\n";
if($g['platform'] == "pfSense")
$command = "cd $CODIR/pfSense ; tar -cpf - . | (cd / ; tar -Uxpf -)";
else
- $command = "cd $CODIR/pfSense ; tar -cpf - . | (cd / ; tar -xpf -)";
+ $command = "cd $CODIR/pfSense ; tar -cpf - . | (cd / ; tar -xpf -) 2>/dev/null";
exec($command);
post_cvssync_commands();
OpenPOWER on IntegriCloud