aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/monitorix/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/monitorix/pkg-plist b/sysutils/monitorix/pkg-plist
index 90b1fea0e768..e3e760caff82 100644
--- a/sysutils/monitorix/pkg-plist
+++ b/sysutils/monitorix/pkg-plist
@@ -25,5 +25,5 @@ bin/monitorix
@comment rrd files are now kept in /var/db/monitorix, we'll move
@comment previous files over for the user
@exec [ -d %%DBDIR%% ] || install -d -o %%WWW_OWNER%% -g %%WWW_GROUP%% %%DBDIR%%
-@exec [ -f %%DATADIR%%/fs.rrd ] && mv %%DATADIR%%/*.rrd %%DBDIR%%
+@exec [ -f %%DATADIR%%/fs.rrd ] && mv %%DATADIR%%/*.rrd %%DBDIR%% || true
@unexec rmdir %%DBDIR%% 2>/dev/null || true