summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xspline-startup3
1 files changed, 2 insertions, 1 deletions
diff --git a/spline-startup b/spline-startup
index 40cf49f..9420e5d 100755
--- a/spline-startup
+++ b/spline-startup
@@ -117,7 +117,8 @@ class SplineStartup(object):
args = []
if reverse:
args.append('--reverse')
- cmd = ['run-parts', '--list'] + args + ['--', directory]
+ cmd = ['run-parts', '--list', '--regex', '^[a-zA-Z0-9_.-]+$'] + \
+ args + ['--', directory]
self._pinfo('Getting scripts: %s' % ' '.join(cmd))
proc = Popen(cmd, stdout=PIPE, stderr=STDOUT)